public class PropertyMetadata
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
PropertyMetadata.MergeInfo
Helper class used for containing information about expected merge
information for this property, if merging is expected.
|
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,
java.lang.Integer index,
java.lang.String defaultValue)
Deprecated.
|
static PropertyMetadata |
construct(java.lang.Boolean req,
java.lang.String desc,
java.lang.Integer index,
java.lang.String defaultValue) |
Nulls |
getContentNulls() |
java.lang.String |
getDefaultValue() |
java.lang.String |
getDescription() |
java.lang.Integer |
getIndex() |
PropertyMetadata.MergeInfo |
getMergeInfo() |
java.lang.Boolean |
getRequired() |
Nulls |
getValueNulls() |
boolean |
hasDefaultValue()
Accessor for determining whether property has declared "default value",
which may be used by extension modules.
|
boolean |
hasIndex() |
boolean |
isRequired() |
PropertyMetadata |
withDefaultValue(java.lang.String def) |
PropertyMetadata |
withDescription(java.lang.String desc) |
PropertyMetadata |
withIndex(java.lang.Integer index) |
PropertyMetadata |
withMergeInfo(PropertyMetadata.MergeInfo mergeInfo) |
PropertyMetadata |
withNulls(Nulls valueNulls,
Nulls contentNulls) |
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
public static PropertyMetadata construct(java.lang.Boolean req, java.lang.String desc, java.lang.Integer index, java.lang.String defaultValue)
@Deprecated 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 withMergeInfo(PropertyMetadata.MergeInfo mergeInfo)
public PropertyMetadata withNulls(Nulls valueNulls, Nulls contentNulls)
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()
public boolean hasDefaultValue()
public boolean isRequired()
public java.lang.Boolean getRequired()
public java.lang.Integer getIndex()
public boolean hasIndex()
public PropertyMetadata.MergeInfo getMergeInfo()
public Nulls getValueNulls()
public Nulls getContentNulls()
Copyright © 2010 - 2020 Adobe. All Rights Reserved