public abstract class AbstractPropertyDefinition<T> extends AbstractExtensionData implements MutablePropertyDefinition<T>
| Constructor and Description |
|---|
AbstractPropertyDefinition() |
| Modifier and Type | Method and Description |
|---|---|
Cardinality |
getCardinality()
Returns the cardinality.
|
List<Choice<T>> |
getChoices()
Returns the choices for this property.
|
List<T> |
getDefaultValue()
Returns the default value.
|
String |
getDescription()
Returns the property description.
|
String |
getDisplayName()
Returns the display name.
|
String |
getId()
Returns the property definition ID.
|
String |
getLocalName()
Returns the local name.
|
String |
getLocalNamespace()
Returns the local namespace.
|
PropertyType |
getPropertyType()
Returns the property type.
|
String |
getQueryName()
Returns the query name
|
Updatability |
getUpdatability()
Returns the updatability.
|
Boolean |
isInherited()
Returns if the property is inherited by a parent type.
|
Boolean |
isOpenChoice()
Returns if the property supports open choice.
|
Boolean |
isOrderable()
Returns if the property is Orderable.
|
Boolean |
isQueryable()
Returns if the property is queryable.
|
Boolean |
isRequired()
Returns if the property is required.
|
void |
setCardinality(Cardinality cardinality) |
void |
setChoices(List<Choice<T>> choiceList) |
void |
setDefaultValue(List<T> defaultValue) |
void |
setDescription(String description) |
void |
setDisplayName(String displayName) |
void |
setId(String id) |
void |
setIsInherited(Boolean isInherited) |
void |
setIsOpenChoice(Boolean isOpenChoice) |
void |
setIsOrderable(Boolean isOrderable) |
void |
setIsQueryable(Boolean isQueryable) |
void |
setIsRequired(Boolean isRequired) |
void |
setLocalName(String localName) |
void |
setLocalNamespace(String localNamespace) |
void |
setPropertyType(PropertyType propertyType) |
void |
setQueryName(String queryName) |
void |
setUpdatability(Updatability updatability) |
String |
toString() |
getExtensions, setExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExtensions, setExtensionspublic String getId()
PropertyDefinitiongetId in interface PropertyDefinition<T>public void setId(String id)
setId in interface MutablePropertyDefinition<T>public String getLocalName()
PropertyDefinitiongetLocalName in interface PropertyDefinition<T>public void setLocalName(String localName)
setLocalName in interface MutablePropertyDefinition<T>public String getLocalNamespace()
PropertyDefinitiongetLocalNamespace in interface PropertyDefinition<T>public void setLocalNamespace(String localNamespace)
setLocalNamespace in interface MutablePropertyDefinition<T>public String getQueryName()
PropertyDefinitiongetQueryName in interface PropertyDefinition<T>public void setQueryName(String queryName)
setQueryName in interface MutablePropertyDefinition<T>public String getDisplayName()
PropertyDefinitiongetDisplayName in interface PropertyDefinition<T>public void setDisplayName(String displayName)
setDisplayName in interface MutablePropertyDefinition<T>public String getDescription()
PropertyDefinitiongetDescription in interface PropertyDefinition<T>public void setDescription(String description)
setDescription in interface MutablePropertyDefinition<T>public PropertyType getPropertyType()
PropertyDefinitiongetPropertyType in interface PropertyDefinition<T>public void setPropertyType(PropertyType propertyType)
setPropertyType in interface MutablePropertyDefinition<T>public Cardinality getCardinality()
PropertyDefinitiongetCardinality in interface PropertyDefinition<T>public void setCardinality(Cardinality cardinality)
setCardinality in interface MutablePropertyDefinition<T>public List<Choice<T>> getChoices()
PropertyDefinitiongetChoices in interface PropertyDefinition<T>public void setChoices(List<Choice<T>> choiceList)
setChoices in interface MutablePropertyDefinition<T>public List<T> getDefaultValue()
PropertyDefinitiongetDefaultValue in interface PropertyDefinition<T>public void setDefaultValue(List<T> defaultValue)
setDefaultValue in interface MutablePropertyDefinition<T>public Updatability getUpdatability()
PropertyDefinitiongetUpdatability in interface PropertyDefinition<T>public void setUpdatability(Updatability updatability)
setUpdatability in interface MutablePropertyDefinition<T>public Boolean isInherited()
PropertyDefinitionisInherited in interface PropertyDefinition<T>true - is inherited; false - is not inherited;
null - unknown (noncompliant repository)public void setIsInherited(Boolean isInherited)
setIsInherited in interface MutablePropertyDefinition<T>public Boolean isQueryable()
PropertyDefinitionisQueryable in interface PropertyDefinition<T>true - is queryable; false - is not queryable;
null - unknown (noncompliant repository)public void setIsQueryable(Boolean isQueryable)
setIsQueryable in interface MutablePropertyDefinition<T>public Boolean isOrderable()
PropertyDefinitionisOrderable in interface PropertyDefinition<T>true - is Orderable; false - is not Orderable;
null - unknown (noncompliant repository)public void setIsOrderable(Boolean isOrderable)
setIsOrderable in interface MutablePropertyDefinition<T>public Boolean isRequired()
PropertyDefinitionisRequired in interface PropertyDefinition<T>true - is required; false - is not required;
null - unknown (noncompliant repository)public void setIsRequired(Boolean isRequired)
setIsRequired in interface MutablePropertyDefinition<T>public Boolean isOpenChoice()
PropertyDefinitionisOpenChoice in interface PropertyDefinition<T>true - supports open choice; false - does not
support open choice; null - unknown or not applicablepublic void setIsOpenChoice(Boolean isOpenChoice)
setIsOpenChoice in interface MutablePropertyDefinition<T>public String toString()
toString in class AbstractExtensionDataCopyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.