Constructor and Description |
---|
CustomizableEntity(java.util.Map<java.lang.String,java.lang.Object> customFields)
TODO
|
Modifier and Type | Method and Description |
---|---|
<T> T |
getCustomField(java.lang.String name,
java.lang.Class<T> type)
Return the specified custom field value,
null if the custom field is not present. |
java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>> |
getCustomFields()
Returns the custom fields stored in the entity.
|
java.lang.String |
toString() |
public CustomizableEntity(java.util.Map<java.lang.String,java.lang.Object> customFields)
customFields
- public final <T> T getCustomField(java.lang.String name, java.lang.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 java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>> getCustomFields()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved