Package org.apache.oltu.commons.json
Class CustomizableEntity
java.lang.Object
org.apache.oltu.commons.json.CustomizableEntity
TODO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal <T> TgetCustomField(String name, Class<T> type) Return the specified custom field value,nullif the custom field is not present.Returns the custom fields stored in the entity.toString()
-
Constructor Details
-
CustomizableEntity
TODO- Parameters:
customFields-
-
-
Method Details
-
getCustomField
Return the specified custom field value,nullif the custom field is not present.- Parameters:
name- the custom field name, it cannot be null.- Returns:
- the specified custom field value,
nullif the custom field is not present.
-
getCustomFields
Returns the custom fields stored in the entity.- Returns:
- the custom fields stored in the entity.
-
toString
-