public interface IProperty extends ITypeAsset
Modifier and Type | Method and Description |
---|---|
IDataModel |
getAssociatedDataModel()
Returns the data model associated with this property either One-To-One or One-To-Many
|
IDataModel |
getChildDataModel()
Gets the associated data model.
|
IDataModel |
getDataModel()
Gets the datamodel for which this property belong
|
Object[] |
getEnumList()
Gets the enum related of this property.
|
String |
getIdentifier()
Gets the identifier of this property.
|
String |
getParameterType()
Gets the parameter type of this property.
|
List<? extends IProperty> |
getProperties()
Gets the properties of this property if property type is Array.
|
String |
getReferenceName()
Returns the reference entity name.
|
Boolean |
getRequired()
Determines whether or not this property accepts null values.
|
IRule |
getRules()
Returns the rules of the attribute.
|
boolean |
isBelowCollection()
Return true if property is part of collection entity.
|
boolean |
isComplexType()
Returns true if attribute is of type ARRAY or OBJECT.
|
boolean |
isComputed()
Determines if this property is a computed property.
|
boolean |
isNullable()
Determines whether or not this property accepts null values.
|
Boolean |
isPrimaryKey()
Determines if this property is (one of) the primary key(s) of its datamodel.
|
boolean |
isPrimitiveType()
Returns true if attribute is of primitive type.
|
void |
setChildDataModel(IDataModel childDataModel)
Sets the associated data model.
|
getFormatType, getMediaBinaryEncoding, getMediaType, getSubType, getSubTypeRef, getType, getTypeRef, setFormatType, setSubType, setType
getDescription, getId, getName, getTitle
String getParameterType()
IDataModel getDataModel()
Boolean getRequired()
boolean isNullable()
boolean isComputed()
Boolean isPrimaryKey()
IDataModel getChildDataModel()
IDataModel getAssociatedDataModel()
void setChildDataModel(IDataModel childDataModel)
childDataModel
- the associated dataModel.Object[] getEnumList()
List<? extends IProperty> getProperties()
String getIdentifier()
String getReferenceName()
boolean isComplexType()
boolean isPrimitiveType()
IRule getRules()
boolean isBelowCollection()
com.adobe.aem.dermis.api.IFormDataModelManager#getEntityPropertyByPath(String, String)
Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.