public class PropertyMetadata
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static PropertyMetadata |
STD_OPTIONAL |
static PropertyMetadata |
STD_REQUIRED |
static PropertyMetadata |
STD_REQUIRED_OR_OPTIONAL |
Modifier and Type | Method and Description |
---|---|
static PropertyMetadata |
construct(boolean req,
java.lang.String desc)
Deprecated.
|
static PropertyMetadata |
construct(boolean req,
java.lang.String desc,
java.lang.Integer index,
java.lang.String defaultValue) |
java.lang.String |
getDefaultValue() |
java.lang.String |
getDescription() |
java.lang.Integer |
getIndex() |
java.lang.Boolean |
getRequired() |
boolean |
hasDefaultValue()
Accessor for determining whether property has declared "default value",
which may be used by extension modules.
|
boolean |
hasDefuaultValue()
Deprecated.
Since 2.6: typo in name, use
hasDefaultValue() instead. |
boolean |
hasIndex() |
boolean |
isRequired() |
PropertyMetadata |
withDefaultValue(java.lang.String def) |
PropertyMetadata |
withDescription(java.lang.String desc) |
PropertyMetadata |
withIndex(java.lang.Integer index) |
PropertyMetadata |
withRequired(java.lang.Boolean b) |
public static final PropertyMetadata STD_REQUIRED
public static final PropertyMetadata STD_OPTIONAL
public static final PropertyMetadata STD_REQUIRED_OR_OPTIONAL
@Deprecated public static PropertyMetadata construct(boolean req, java.lang.String desc)
public static PropertyMetadata construct(boolean req, java.lang.String desc, java.lang.Integer index, java.lang.String defaultValue)
public PropertyMetadata withDescription(java.lang.String desc)
public PropertyMetadata withDefaultValue(java.lang.String def)
public PropertyMetadata withIndex(java.lang.Integer index)
public PropertyMetadata withRequired(java.lang.Boolean b)
public java.lang.String getDescription()
public java.lang.String getDefaultValue()
@Deprecated public boolean hasDefuaultValue()
hasDefaultValue()
instead.public boolean hasDefaultValue()
public boolean isRequired()
public java.lang.Boolean getRequired()
public java.lang.Integer getIndex()
public boolean hasIndex()
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"