public abstract class ConstraintAsset extends TypedAsset implements IConstraintAsset
IConstraintAsset.
Implements most common and trivial methods.| Constructor and Description |
|---|
ConstraintAsset() |
ConstraintAsset(String name,
String description,
PropertyType type) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultValue()
Gets the default of this string property.
|
Boolean |
getExclusiveMaximum()
Gets the exclusive maximum of this numeric property.
|
Boolean |
getExclusiveMinimum()
Gets the exclusive minimum of this numeric property.
|
Double |
getMaximum()
Gets the maximum of this numeric property.
|
Integer |
getMaxItems()
Gets the max items of this array property.
|
Integer |
getMaxLength()
Gets the max length of this string property.
|
Double |
getMinimum()
Gets the minimum of this numeric property.
|
Integer |
getMinItems()
Gets the min items of this array property.
|
Integer |
getMinLength()
Gets the min length of this string property.
|
String |
getPattern()
Gets the pattern of this string property.
|
boolean |
getProtect()
Returns whether this property is protected or not
|
Boolean |
getUniqueItems()
Gets the unique items of this array property.
|
boolean |
isReadOnly()
Returns whether this property is read only or not
|
void |
setDefaultValue(String defaultValue) |
void |
setExclusiveMaximum(Boolean exclusiveMaximum) |
void |
setExclusiveMinimum(Boolean exclusiveMinimum) |
void |
setMaximum(Double maximum) |
void |
setMaxItems(Integer maxItems) |
void |
setMaxLength(Integer maxLength) |
void |
setMinimum(Double minimum) |
void |
setMinItems(Integer minItems) |
void |
setMinLength(Integer minLength) |
void |
setPattern(String pattern) |
void |
setProtect(boolean protect) |
void |
setReadOnly(boolean isReadOnly) |
void |
setUniqueItems(Boolean uniqueItems) |
getFormatType, getMediaBinaryEncoding, getMediaType, getSubType, getSubTypeRef, getType, getTypeRef, setFormatType, setMediaBinaryEncoding, setMediaType, setSubType, setSubTypeRef, setType, setTypeRefgetDescription, getId, getName, getTitle, setDescription, setId, setName, setTitlegetFormatType, getMediaBinaryEncoding, getMediaType, getSubType, getSubTypeRef, getType, getTypeRef, setFormatType, setSubType, setTypegetDescription, getId, getName, getTitlepublic ConstraintAsset()
public ConstraintAsset(String name, String description, PropertyType type)
public Double getMinimum()
getMinimum in interface IConstraintAssetpublic Double getMaximum()
getMaximum in interface IConstraintAssetpublic Boolean getExclusiveMinimum()
getExclusiveMinimum in interface IConstraintAssetpublic Boolean getExclusiveMaximum()
getExclusiveMaximum in interface IConstraintAssetpublic Integer getMinLength()
getMinLength in interface IConstraintAssetpublic Integer getMaxLength()
getMaxLength in interface IConstraintAssetpublic String getPattern()
getPattern in interface IConstraintAssetpublic String getDefaultValue()
getDefaultValue in interface IConstraintAssetpublic Integer getMinItems()
getMinItems in interface IConstraintAssetpublic Integer getMaxItems()
getMaxItems in interface IConstraintAssetpublic Boolean getUniqueItems()
getUniqueItems in interface IConstraintAssetpublic boolean getProtect()
getProtect in interface IConstraintAssetpublic boolean isReadOnly()
isReadOnly in interface IConstraintAssetpublic void setMinimum(Double minimum)
public void setMaximum(Double maximum)
public void setExclusiveMinimum(Boolean exclusiveMinimum)
public void setExclusiveMaximum(Boolean exclusiveMaximum)
public void setMinLength(Integer minLength)
public void setMaxLength(Integer maxLength)
public void setPattern(String pattern)
public void setDefaultValue(String defaultValue)
public void setMinItems(Integer minItems)
public void setMaxItems(Integer maxItems)
public void setUniqueItems(Boolean uniqueItems)
public void setProtect(boolean protect)
public void setReadOnly(boolean isReadOnly)
Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.