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, setTypeRef
getDescription, getId, getName, getTitle, setDescription, setId, setName, setTitle
getFormatType, getMediaBinaryEncoding, getMediaType, getSubType, getSubTypeRef, getType, getTypeRef, setFormatType, setSubType, setType
getDescription, getId, getName, getTitle
public ConstraintAsset()
public ConstraintAsset(String name, String description, PropertyType type)
public Double getMinimum()
getMinimum
in interface IConstraintAsset
public Double getMaximum()
getMaximum
in interface IConstraintAsset
public Boolean getExclusiveMinimum()
getExclusiveMinimum
in interface IConstraintAsset
public Boolean getExclusiveMaximum()
getExclusiveMaximum
in interface IConstraintAsset
public Integer getMinLength()
getMinLength
in interface IConstraintAsset
public Integer getMaxLength()
getMaxLength
in interface IConstraintAsset
public String getPattern()
getPattern
in interface IConstraintAsset
public String getDefaultValue()
getDefaultValue
in interface IConstraintAsset
public Integer getMinItems()
getMinItems
in interface IConstraintAsset
public Integer getMaxItems()
getMaxItems
in interface IConstraintAsset
public Boolean getUniqueItems()
getUniqueItems
in interface IConstraintAsset
public boolean getProtect()
getProtect
in interface IConstraintAsset
public boolean isReadOnly()
isReadOnly
in interface IConstraintAsset
public 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–2022 Adobe Systems Inc.. All rights reserved.