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, setExtensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExtensions, setExtensions
public String getId()
PropertyDefinition
getId
in interface PropertyDefinition<T>
public void setId(String id)
setId
in interface MutablePropertyDefinition<T>
public String getLocalName()
PropertyDefinition
getLocalName
in interface PropertyDefinition<T>
public void setLocalName(String localName)
setLocalName
in interface MutablePropertyDefinition<T>
public String getLocalNamespace()
PropertyDefinition
getLocalNamespace
in interface PropertyDefinition<T>
public void setLocalNamespace(String localNamespace)
setLocalNamespace
in interface MutablePropertyDefinition<T>
public String getQueryName()
PropertyDefinition
getQueryName
in interface PropertyDefinition<T>
public void setQueryName(String queryName)
setQueryName
in interface MutablePropertyDefinition<T>
public String getDisplayName()
PropertyDefinition
getDisplayName
in interface PropertyDefinition<T>
public void setDisplayName(String displayName)
setDisplayName
in interface MutablePropertyDefinition<T>
public String getDescription()
PropertyDefinition
getDescription
in interface PropertyDefinition<T>
public void setDescription(String description)
setDescription
in interface MutablePropertyDefinition<T>
public PropertyType getPropertyType()
PropertyDefinition
getPropertyType
in interface PropertyDefinition<T>
public void setPropertyType(PropertyType propertyType)
setPropertyType
in interface MutablePropertyDefinition<T>
public Cardinality getCardinality()
PropertyDefinition
getCardinality
in interface PropertyDefinition<T>
public void setCardinality(Cardinality cardinality)
setCardinality
in interface MutablePropertyDefinition<T>
public List<Choice<T>> getChoices()
PropertyDefinition
getChoices
in interface PropertyDefinition<T>
null
if no choices are definedpublic void setChoices(List<Choice<T>> choiceList)
setChoices
in interface MutablePropertyDefinition<T>
public List<T> getDefaultValue()
PropertyDefinition
getDefaultValue
in interface PropertyDefinition<T>
null
if no default value is
definedpublic void setDefaultValue(List<T> defaultValue)
setDefaultValue
in interface MutablePropertyDefinition<T>
public Updatability getUpdatability()
PropertyDefinition
getUpdatability
in interface PropertyDefinition<T>
public void setUpdatability(Updatability updatability)
setUpdatability
in interface MutablePropertyDefinition<T>
public Boolean isInherited()
PropertyDefinition
isInherited
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()
PropertyDefinition
isQueryable
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()
PropertyDefinition
isOrderable
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()
PropertyDefinition
isRequired
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()
PropertyDefinition
isOpenChoice
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 AbstractExtensionData
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.