Package com.adobe.aem.dermis.model
Interface IDataModel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<? extends IProperty>
getProperties()
Gets the properties of this datamodel.java.util.List<Relationship>
getRelationships(IDataModel otherDataModel)
Gets relationships between this dataModel and another dataModel.java.lang.String
getSchemaName()
Gets the name of schema in which this datamodel resides in.boolean
isBinaryEntity()
boolean
isDefaultBinaryEntity()
boolean
isGenericOperationAllowed()
Flag represents whether this entity can be bind with generic operationsboolean
isRootEntity()
RootEntity is true if it is either an argument or return type of an operationvoid
setBinaryEntity(boolean binaryEntity)
void
setDefaultBinaryEntity(boolean defaultBinaryEntity)
void
setProperties(java.util.List<? extends IProperty> properties)
Sets the properties of this datamodel.void
setRootEntity(boolean value)
-
Methods inherited from interface com.adobe.aem.dermis.model.IAsset
getDescription, getId, getName, getTitle
-
-
-
-
Method Detail
-
getSchemaName
java.lang.String getSchemaName()
Gets the name of schema in which this datamodel resides in.- Returns:
- the schema name in which this datamodel resides in.
-
getProperties
java.util.List<? extends IProperty> getProperties()
Gets the properties of this datamodel.- Returns:
- the properties of this datamodel.
-
setProperties
void setProperties(java.util.List<? extends IProperty> properties)
Sets the properties of this datamodel.- Parameters:
properties
- the properties of this datamodel.
-
getRelationships
java.util.List<Relationship> getRelationships(IDataModel otherDataModel)
Gets relationships between this dataModel and another dataModel.- Parameters:
otherDataModel
- another datamodel for which to find relationships to and from.- Returns:
- an array of relationsips between this and the other datamodel.
-
isRootEntity
boolean isRootEntity()
RootEntity is true if it is either an argument or return type of an operation- Returns:
-
setRootEntity
void setRootEntity(boolean value)
-
isBinaryEntity
boolean isBinaryEntity()
-
setBinaryEntity
void setBinaryEntity(boolean binaryEntity)
-
isDefaultBinaryEntity
boolean isDefaultBinaryEntity()
-
setDefaultBinaryEntity
void setDefaultBinaryEntity(boolean defaultBinaryEntity)
-
isGenericOperationAllowed
boolean isGenericOperationAllowed()
Flag represents whether this entity can be bind with generic operations- Returns:
- - Return true if generic operation are allowed.
-
-