Class Entity
- java.lang.Object
-
- org.symphonyoss.symphony.messageml.elements.Element
-
- org.symphonyoss.symphony.messageml.elements.Entity
-
-
Field Summary
Fields Modifier and Type Field Description static StringENTITY_ID_ATTRstatic StringID_FIELDstatic StringPRESENTATIONML_CLASSstatic StringTYPE_FIELDstatic StringVALUE_FIELD-
Fields inherited from class org.symphonyoss.symphony.messageml.elements.Element
CLASS_ATTR, format, STYLE_ATTR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.node.ObjectNodeasEntityJson(com.fasterxml.jackson.databind.node.ObjectNode parent)protected voidbuildAttribute(Node item)protected abstract StringgetEntityIdPrefix()protected abstract StringgetEntitySubType()protected abstract StringgetEntityType()protected abstract StringgetEntityValue()protected abstract StringgetEntityVersion()voidvalidate()-
Methods inherited from class org.symphonyoss.symphony.messageml.elements.Element
addChild, asText, buildAll, findElements, findElements, findElements, getAttribute, getAttributes, getChild, getChildren, getFormat, getMessageMLTag, getParent, size
-
-
-
-
Field Detail
-
PRESENTATIONML_CLASS
public static final String PRESENTATIONML_CLASS
- See Also:
- Constant Field Values
-
ENTITY_ID_ATTR
public static final String ENTITY_ID_ATTR
- See Also:
- Constant Field Values
-
TYPE_FIELD
public static final String TYPE_FIELD
- See Also:
- Constant Field Values
-
VALUE_FIELD
public static final String VALUE_FIELD
- See Also:
- Constant Field Values
-
ID_FIELD
public static final String ID_FIELD
- See Also:
- Constant Field Values
-
-
Method Detail
-
buildAttribute
protected void buildAttribute(Node item) throws InvalidInputException
- Throws:
InvalidInputException
-
asEntityJson
public com.fasterxml.jackson.databind.node.ObjectNode asEntityJson(com.fasterxml.jackson.databind.node.ObjectNode parent)
-
validate
public void validate() throws InvalidInputException- Throws:
InvalidInputException
-
getEntityValue
protected abstract String getEntityValue()
-
getEntitySubType
protected abstract String getEntitySubType()
-
getEntityVersion
protected abstract String getEntityVersion()
-
getEntityType
protected abstract String getEntityType()
-
getEntityIdPrefix
protected abstract String getEntityIdPrefix()
-
-