|
||||||||||
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. |
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()
|
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 String getId()
PropertyDefinition
getId
in interface PropertyDefinition<T>
public void setId(String id)
public String getLocalName()
PropertyDefinition
getLocalName
in interface PropertyDefinition<T>
public void setLocalName(String localName)
public String getLocalNamespace()
PropertyDefinition
getLocalNamespace
in interface PropertyDefinition<T>
public void setLocalNamespace(String localNamespace)
public String getQueryName()
PropertyDefinition
getQueryName
in interface PropertyDefinition<T>
public void setQueryName(String queryName)
public String getDisplayName()
PropertyDefinition
getDisplayName
in interface PropertyDefinition<T>
public void setDisplayName(String displayName)
public String getDescription()
PropertyDefinition
getDescription
in interface PropertyDefinition<T>
public void setDescription(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 List<Choice<T>> getChoices()
PropertyDefinition
getChoices
in interface PropertyDefinition<T>
null
if no choices are definedpublic void setChoices(List<Choice<T>> choiceList)
public List<T> getDefaultValue()
PropertyDefinition
getDefaultValue
in interface PropertyDefinition<T>
null
if no default value
is definedpublic void setDefaultValue(List<T> defaultValue)
public Updatability getUpdatability()
PropertyDefinition
getUpdatability
in interface PropertyDefinition<T>
public void setUpdatability(Updatability updatability)
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)
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)
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)
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)
public 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(Boolean isOpenChoice)
public String toString()
toString
in class AbstractExtensionData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |