Package com.adobe.aem.dermis.model
Interface IConstraintAsset
-
- All Superinterfaces:
IAsset
,ITypeAsset
,java.io.Serializable
- All Known Implementing Classes:
ConstraintAsset
,Property
,RestProperty
,WSProperty
public interface IConstraintAsset extends ITypeAsset
Base class (POJO) for all types of constraint on theIAsset
.
Contains basic common attributes for an Asset, such as minLength, maxLength, etc
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDefaultValue()
Gets the default of this string property.java.lang.Boolean
getExclusiveMaximum()
Gets the exclusive maximum of this numeric property.java.lang.Boolean
getExclusiveMinimum()
Gets the exclusive minimum of this numeric property.java.lang.Double
getMaximum()
Gets the maximum of this numeric property.java.lang.Integer
getMaxItems()
Gets the max items of this array property.java.lang.Integer
getMaxLength()
Gets the max length of this string property.java.lang.Double
getMinimum()
Gets the minimum of this numeric property.java.lang.Integer
getMinItems()
Gets the min items of this array property.java.lang.Integer
getMinLength()
Gets the min length of this string property.java.lang.String
getPattern()
Gets the pattern of this string property.boolean
getProtect()
Returns whether this property is protected or notjava.lang.Boolean
getUniqueItems()
Gets the unique items of this array property.boolean
isReadOnly()
Returns whether this property is read only or not-
Methods inherited from interface com.adobe.aem.dermis.model.IAsset
getDescription, getId, getName, getTitle
-
Methods inherited from interface com.adobe.aem.dermis.model.ITypeAsset
getFormatType, getMediaBinaryEncoding, getMediaType, getSubType, getSubTypeRef, getType, getTypeRef, setFormatType, setSubType, setType
-
-
-
-
Method Detail
-
getMinimum
java.lang.Double getMinimum()
Gets the minimum of this numeric property.- Returns:
- the minimum of this numeric property
-
getMaximum
java.lang.Double getMaximum()
Gets the maximum of this numeric property.- Returns:
- the maximum of this numeric property
-
getExclusiveMinimum
java.lang.Boolean getExclusiveMinimum()
Gets the exclusive minimum of this numeric property.- Returns:
- the exclusive minimum of this numeric property
-
getExclusiveMaximum
java.lang.Boolean getExclusiveMaximum()
Gets the exclusive maximum of this numeric property.- Returns:
- the exclusive maximum of this numeric property
-
getMinLength
java.lang.Integer getMinLength()
Gets the min length of this string property.- Returns:
- the min length of this string property
-
getMaxLength
java.lang.Integer getMaxLength()
Gets the max length of this string property.- Returns:
- the max length of this string property
-
getPattern
java.lang.String getPattern()
Gets the pattern of this string property.- Returns:
- the pattern of this string property
-
getDefaultValue
java.lang.String getDefaultValue()
Gets the default of this string property.- Returns:
- the default of this string property
-
getMinItems
java.lang.Integer getMinItems()
Gets the min items of this array property.- Returns:
- the min items of this array property
-
getMaxItems
java.lang.Integer getMaxItems()
Gets the max items of this array property.- Returns:
- the max items of this array property
-
getUniqueItems
java.lang.Boolean getUniqueItems()
Gets the unique items of this array property.- Returns:
- the unique items of this array property
-
getProtect
boolean getProtect()
Returns whether this property is protected or not- Returns:
-
isReadOnly
boolean isReadOnly()
Returns whether this property is read only or not- Returns:
-
-