|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractExtensionData
org.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractPropertyDefinition<T>
public abstract class AbstractPropertyDefinition<T>
Abstract property definition data implementation.
Constructor Summary | |
---|---|
AbstractPropertyDefinition()
|
Method Summary | |
---|---|
Cardinality |
getCardinality()
Returns the cardinality. |
java.util.List<Choice<T>> |
getChoices()
Returns the choices for this property. |
java.util.List<T> |
getDefaultValue()
Returns the default value. |
java.lang.String |
getDescription()
Returns the property description. |
java.lang.String |
getDisplayName()
Returns the display name. |
java.lang.String |
getId()
Returns the property definition id. |
java.lang.String |
getLocalName()
Returns the local name. |
java.lang.String |
getLocalNamespace()
Returns the local namespace. |
PropertyType |
getPropertyType()
Returns the property type. |
java.lang.String |
getQueryName()
Returns the query name |
Updatability |
getUpdatability()
Returns the updatability. |
java.lang.Boolean |
isInherited()
Returns if the property is inherited by a parent type. |
java.lang.Boolean |
isOpenChoice()
Returns if the property supports open choice. |
java.lang.Boolean |
isOrderable()
Returns if the property is Orderable. |
java.lang.Boolean |
isQueryable()
Returns if the property is queryable. |
java.lang.Boolean |
isRequired()
Returns if the property is required. |
void |
setCardinality(Cardinality cardinality)
|
void |
setChoices(java.util.List<Choice<T>> choiceList)
|
void |
setDefaultValue(java.util.List<T> defaultValue)
|
void |
setDescription(java.lang.String description)
|
void |
setDisplayName(java.lang.String displayName)
|
void |
setId(java.lang.String id)
|
void |
setIsInherited(java.lang.Boolean isInherited)
|
void |
setIsOpenChoice(java.lang.Boolean isOpenChoice)
|
void |
setIsOrderable(java.lang.Boolean isOrderable)
|
void |
setIsQueryable(java.lang.Boolean isQueryable)
|
void |
setIsRequired(java.lang.Boolean isRequired)
|
void |
setLocalName(java.lang.String localName)
|
void |
setLocalNamespace(java.lang.String localNamespace)
|
void |
setPropertyType(PropertyType propertyType)
|
void |
setQueryName(java.lang.String queryName)
|
void |
setUpdatability(Updatability updatability)
|
java.lang.String |
toString()
|
Methods inherited from class org.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractExtensionData |
---|
getExtensions, setExtensions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.chemistry.opencmis.commons.data.ExtensionsData |
---|
getExtensions, setExtensions |
Constructor Detail |
---|
public AbstractPropertyDefinition()
Method Detail |
---|
public java.lang.String getId()
PropertyDefinition
getId
in interface PropertyDefinition<T>
public void setId(java.lang.String id)
public java.lang.String getLocalName()
PropertyDefinition
getLocalName
in interface PropertyDefinition<T>
public void setLocalName(java.lang.String localName)
public java.lang.String getLocalNamespace()
PropertyDefinition
getLocalNamespace
in interface PropertyDefinition<T>
public void setLocalNamespace(java.lang.String localNamespace)
public java.lang.String getQueryName()
PropertyDefinition
getQueryName
in interface PropertyDefinition<T>
public void setQueryName(java.lang.String queryName)
public java.lang.String getDisplayName()
PropertyDefinition
getDisplayName
in interface PropertyDefinition<T>
public void setDisplayName(java.lang.String displayName)
public java.lang.String getDescription()
PropertyDefinition
getDescription
in interface PropertyDefinition<T>
public void setDescription(java.lang.String description)
public PropertyType getPropertyType()
PropertyDefinition
getPropertyType
in interface PropertyDefinition<T>
public void setPropertyType(PropertyType propertyType)
public Cardinality getCardinality()
PropertyDefinition
getCardinality
in interface PropertyDefinition<T>
public void setCardinality(Cardinality cardinality)
public java.util.List<Choice<T>> getChoices()
PropertyDefinition
getChoices
in interface PropertyDefinition<T>
null
if no choices are definedpublic void setChoices(java.util.List<Choice<T>> choiceList)
public java.util.List<T> getDefaultValue()
PropertyDefinition
getDefaultValue
in interface PropertyDefinition<T>
null
if no default value
is definedpublic void setDefaultValue(java.util.List<T> defaultValue)
public Updatability getUpdatability()
PropertyDefinition
getUpdatability
in interface PropertyDefinition<T>
public void setUpdatability(Updatability updatability)
public java.lang.Boolean isInherited()
PropertyDefinition
isInherited
in interface PropertyDefinition<T>
true
- is inherited;
false - is not inherited; null
-
unknown (noncompliant repository)
public void setIsInherited(java.lang.Boolean isInherited)
public java.lang.Boolean isQueryable()
PropertyDefinition
isQueryable
in interface PropertyDefinition<T>
true
- is queryable;
false - is not queryable; null
-
unknown (noncompliant repository)
public void setIsQueryable(java.lang.Boolean isQueryable)
public java.lang.Boolean isOrderable()
PropertyDefinition
isOrderable
in interface PropertyDefinition<T>
true
- is Orderable;
false - is not Orderable; null
-
unknown (noncompliant repository)
public void setIsOrderable(java.lang.Boolean isOrderable)
public java.lang.Boolean isRequired()
PropertyDefinition
isRequired
in interface PropertyDefinition<T>
true
- is required;
false - is not required; null
-
unknown (noncompliant repository)
public void setIsRequired(java.lang.Boolean isRequired)
public java.lang.Boolean isOpenChoice()
PropertyDefinition
isOpenChoice
in interface PropertyDefinition<T>
true
- supports open choice;
false - does not support open choice; null
- unknown or not applicable
public void setIsOpenChoice(java.lang.Boolean isOpenChoice)
public java.lang.String toString()
toString
in class AbstractExtensionData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |