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.StringgetSchemaName()Gets the name of schema in which this datamodel resides in.booleanisBinaryEntity()booleanisDefaultBinaryEntity()booleanisGenericOperationAllowed()Flag represents whether this entity can be bind with generic operationsbooleanisRootEntity()RootEntity is true if it is either an argument or return type of an operationvoidsetBinaryEntity(boolean binaryEntity)voidsetDefaultBinaryEntity(boolean defaultBinaryEntity)voidsetProperties(java.util.List<? extends IProperty> properties)Sets the properties of this datamodel.voidsetRootEntity(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.
-
-