API FinTP REST
 All Classes Namespaces Files Functions Variables
ro.allevo.fintpws.util.ReflectionUtils Class Reference

Static Public Member Functions

static JSONObject asJson (Object object, String path) throws JSONException
 Returns the resource formatted as json. More...
 
static void updateEntity (Object entity, JSONObject jsonEntity) throws JSONException
 Method updateEntity. More...
 
static JSONObject asReflectedJson (Object object, JSONObject objectAsJson) throws JSONException
 Method asJson.Call get methods from entity. More...
 

Static Private Member Functions

static Object asEntityFieldType (Object entity, String name, String val)
 Return the value formatted as field type from QueueEntity. More...
 

Static Private Attributes

static Logger logger
 Field logger. More...
 

Member Function Documentation

static Object ro.allevo.fintpws.util.ReflectionUtils.asEntityFieldType ( Object  entity,
String  name,
String  val 
)
inlinestaticprivate

Return the value formatted as field type from QueueEntity.

Parameters
entityObject
nameString
valString
Returns
JSONObject
Exceptions
JSONException
static JSONObject ro.allevo.fintpws.util.ReflectionUtils.asJson ( Object  object,
String  path 
) throws JSONException
inlinestatic

Returns the resource formatted as json.

Parameters
objectObject
pathString
Returns
JSONObject
Exceptions
JSONException
static JSONObject ro.allevo.fintpws.util.ReflectionUtils.asReflectedJson ( Object  object,
JSONObject  objectAsJson 
) throws JSONException
inlinestatic

Method asJson.Call get methods from entity.

Parameters
objectObject
objectAsJsonJSONObject
Returns
JSONObject
Exceptions
JSONException
static void ro.allevo.fintpws.util.ReflectionUtils.updateEntity ( Object  entity,
JSONObject  jsonEntity 
) throws JSONException
inlinestatic

Method updateEntity.

Parameters
entityObject
jsonEntityJSONObject
Exceptions
JSONException

Member Data Documentation

Logger ro.allevo.fintpws.util.ReflectionUtils.logger
staticprivate
Initial value:
= LogManager.getLogger(ReflectionUtils.class
.getName())

Field logger.


The documentation for this class was generated from the following file: