public abstract class AbstractPropertyDefinition<T> extends AbstractExtensionData implements PropertyDefinition<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)
public String getLocalName()
PropertyDefinitiongetLocalName in interface PropertyDefinition<T>public void setLocalName(String localName)
public String getLocalNamespace()
PropertyDefinitiongetLocalNamespace in interface PropertyDefinition<T>public void setLocalNamespace(String localNamespace)
public String getQueryName()
PropertyDefinitiongetQueryName in interface PropertyDefinition<T>public void setQueryName(String queryName)
public String getDisplayName()
PropertyDefinitiongetDisplayName in interface PropertyDefinition<T>public void setDisplayName(String displayName)
public String getDescription()
PropertyDefinitiongetDescription in interface PropertyDefinition<T>public void setDescription(String description)
public PropertyType getPropertyType()
PropertyDefinitiongetPropertyType in interface PropertyDefinition<T>public void setPropertyType(PropertyType propertyType)
public Cardinality getCardinality()
PropertyDefinitiongetCardinality in interface PropertyDefinition<T>public void setCardinality(Cardinality cardinality)
public List<Choice<T>> getChoices()
PropertyDefinitiongetChoices in interface PropertyDefinition<T>null if no choices are definedpublic List<T> getDefaultValue()
PropertyDefinitiongetDefaultValue in interface PropertyDefinition<T>null if no default value
is definedpublic Updatability getUpdatability()
PropertyDefinitiongetUpdatability in interface PropertyDefinition<T>public void setUpdatability(Updatability updatability)
public Boolean isInherited()
PropertyDefinitionisInherited in interface PropertyDefinition<T>true - is inherited;
false - is not inherited; null -
unknown (noncompliant repository)public void setIsInherited(Boolean isInherited)
public Boolean isQueryable()
PropertyDefinitionisQueryable in interface PropertyDefinition<T>true - is queryable;
false - is not queryable; null -
unknown (noncompliant repository)public void setIsQueryable(Boolean isQueryable)
public Boolean isOrderable()
PropertyDefinitionisOrderable in interface PropertyDefinition<T>true - is Orderable;
false - is not Orderable; null -
unknown (noncompliant repository)public void setIsOrderable(Boolean isOrderable)
public Boolean isRequired()
PropertyDefinitionisRequired in interface PropertyDefinition<T>true - is required;
false - is not required; null -
unknown (noncompliant repository)public void setIsRequired(Boolean isRequired)
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)
public String toString()
toString in class AbstractExtensionDataCopyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.