|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.oltu.commons.json.CustomizableEntity
public abstract class CustomizableEntity
TODO
| Constructor Summary | |
|---|---|
CustomizableEntity(Map<String,Object> customFields)
TODO |
|
| Method Summary | ||
|---|---|---|
|
getCustomField(String name,
Class<T> type)
Return the specified custom field value, null if the custom field is not present. |
|
Set<Map.Entry<String,Object>> |
getCustomFields()
Returns the custom fields stored in the entity. |
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CustomizableEntity(Map<String,Object> customFields)
customFields - | Method Detail |
|---|
public final <T> T getCustomField(String name,
Class<T> type)
null if the custom field is not present.
name - the custom field name, it cannot be null.
null if the custom field is not present.public final Set<Map.Entry<String,Object>> getCustomFields()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||