public class Entity extends BaseEntity implements IEntity
| Constructor and Description |
|---|
Entity(IEntity canonOther)
Constructor from another instance, usually a Builder.
|
Entity(org.symphonyoss.s2.common.dom.json.ImmutableJsonObject jsonObject)
Constructor from serialized form.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCanonType()
Return the type identifier (_type JSON attribute) for this entity.
|
org.symphonyoss.s2.common.dom.json.ImmutableJsonObject |
getJsonObject()
Return the JSON object from which this entity was created.
|
equals, getJsonDomNode, hashCode, serialize, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetJsonDomNode, serializepublic Entity(org.symphonyoss.s2.common.dom.json.ImmutableJsonObject jsonObject)
jsonObject - A parse tree of the serialized form.public Entity(IEntity canonOther)
canonOther - Another entity containing all values for the required object. This is usually a Builder.public org.symphonyoss.s2.common.dom.json.ImmutableJsonObject getJsonObject()
IEntitygetJsonObject in interface IEntity@Nonnull public String getCanonType()
IEntitygetCanonType in interface IEntityCopyright © 2018 Symphony Software Foundation. All rights reserved.