Package org.symphonyoss.s2.canon.runtime
Interface IEntityOrBuilder
-
- All Known Subinterfaces:
IEntity,IEntityBuilder
- All Known Implementing Classes:
Entity,EntityBuilder
public interface IEntityOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IntegergetCanonMajorVersion()IntegergetCanonMinorVersion()StringgetCanonType()Return the type identifier (_type JSON attribute) for this entity.org.symphonyoss.s2.common.dom.json.ImmutableJsonObjectgetJsonObject()Return the JSON object from which this entity was created.
-
-
-
Method Detail
-
getJsonObject
@Nonnull org.symphonyoss.s2.common.dom.json.ImmutableJsonObject getJsonObject()
Return the JSON object from which this entity was created.- Returns:
- the JSON object from which this entity was created.
-
getCanonType
@Nonnull String getCanonType()
Return the type identifier (_type JSON attribute) for this entity.- Returns:
- The type identifier for this object.
-
getCanonMajorVersion
@Nullable Integer getCanonMajorVersion()
- Returns:
- The major part of the canon schema version defining this object.
-
-