|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xcmis.client.gwt.model.property.BasePropertyDefinition<T>
T - public abstract class BasePropertyDefinition<T>
Created by The eXo Platform SAS.
| Constructor Summary | |
|---|---|
BasePropertyDefinition()
Default constructor. |
|
BasePropertyDefinition(String id,
String localName,
String localNamespace,
String queryName,
String displayName,
String description,
EnumCardinality cardinality,
EnumUpdatability updatability,
Boolean inherited,
Boolean required,
Boolean queryable,
Boolean orderable,
Boolean openChoice,
List<Choice<T>> choices,
T[] defaultValue)
|
|
| Method Summary | |
|---|---|
EnumCardinality |
getCardinality()
|
List<Choice<T>> |
getChoices()
|
T[] |
getDefaultValue()
|
String |
getDescription()
|
String |
getDisplayName()
|
String |
getId()
|
String |
getLocalName()
|
String |
getLocalNamespace()
|
String |
getQueryName()
|
EnumUpdatability |
getUpdatability()
|
Boolean |
isInherited()
|
Boolean |
isOpenChoice()
Indicates is choice for property value is open. |
Boolean |
isOrderable()
|
Boolean |
isQueryable()
|
Boolean |
isRequired()
|
void |
setCardinality(EnumCardinality cardinality)
Setter for cardinality. |
void |
setChoices(List<Choice<T>> choices)
Setter for choices. |
void |
setDefaultValue(T[] defaultValue)
Setter for defaultValue. |
void |
setDescription(String description)
Setter for description. |
void |
setDisplayName(String displayName)
Setter for displayName. |
void |
setId(String id)
Setter for id. |
void |
setInherited(Boolean inherited)
Setter for inherited. |
void |
setLocalName(String localName)
Setter for localName. |
void |
setLocalNamespace(String localNamespace)
Setter for localNamespace. |
void |
setOpenChoice(Boolean openChoice)
Setter for openChoice. |
void |
setOrderable(Boolean orderable)
Setter for orderable. |
void |
setQueryable(Boolean queryable)
Setter for queryable. |
void |
setQueryName(String queryName)
Setter for queryName. |
void |
setRequired(Boolean required)
Setter for required. |
void |
setUpdatability(EnumUpdatability updatability)
Setter for updatability. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xcmis.client.gwt.model.property.PropertyDefinition |
|---|
getPropertyType |
| Constructor Detail |
|---|
public BasePropertyDefinition()
public BasePropertyDefinition(String id,
String localName,
String localNamespace,
String queryName,
String displayName,
String description,
EnumCardinality cardinality,
EnumUpdatability updatability,
Boolean inherited,
Boolean required,
Boolean queryable,
Boolean orderable,
Boolean openChoice,
List<Choice<T>> choices,
T[] defaultValue)
id - idlocalName - local namelocalNamespace - local name spacequeryName - query namedisplayName - display namedescription - descriptioncardinality - cardinalityupdatability - updatabilityinherited - inheritedrequired - requiredqueryable - queryableorderable - orderableopenChoice - open choicechoices - choicesdefaultValue - default value| Method Detail |
|---|
public String getId()
getId in interface PropertyDefinition<T>public String getLocalName()
getLocalName in interface PropertyDefinition<T>public String getLocalNamespace()
getLocalNamespace in interface PropertyDefinition<T>public String getQueryName()
getQueryName in interface PropertyDefinition<T>public String getDisplayName()
getDisplayName in interface PropertyDefinition<T>public String getDescription()
getDescription in interface PropertyDefinition<T>public EnumCardinality getCardinality()
getCardinality in interface PropertyDefinition<T>public EnumUpdatability getUpdatability()
getUpdatability in interface PropertyDefinition<T>public Boolean isInherited()
isInherited in interface PropertyDefinition<T>public Boolean isRequired()
isRequired in interface PropertyDefinition<T>public Boolean isQueryable()
isQueryable in interface PropertyDefinition<T>public Boolean isOrderable()
isOrderable in interface PropertyDefinition<T>public List<Choice<T>> getChoices()
getChoices in interface PropertyDefinition<T>Choicepublic Boolean isOpenChoice()
PropertyDefinitionfalse then
value of property must be one of provided by PropertyDefinition.getChoices() If
true then value of can be other then provided by method
described above. This attribute should be provide only for properties that
provides choices (method PropertyDefinition.getChoices() returns other then
null or empty list). For other properties this method should
return null.
isOpenChoice in interface PropertyDefinition<T>true if choice of value of property is open
false otherwise and null for properties
that not provide choicespublic T[] getDefaultValue()
getDefaultValue in interface PropertyDefinition<T>public void setId(String id)
id - public void setLocalName(String localName)
localName - public void setLocalNamespace(String localNamespace)
localNamespace - localNamespacepublic void setDisplayName(String displayName)
displayName - public void setQueryName(String queryName)
queryName - queryNamepublic void setCardinality(EnumCardinality cardinality)
cardinality - cardinalitypublic void setDescription(String description)
description - descriptionpublic void setInherited(Boolean inherited)
inherited - inheritedpublic void setOrderable(Boolean orderable)
orderable - orderablepublic void setQueryable(Boolean queryable)
queryable - queryablepublic void setRequired(Boolean required)
required - requiredpublic void setUpdatability(EnumUpdatability updatability)
updatability - updatabilitypublic void setOpenChoice(Boolean openChoice)
openChoice - openChoicepublic void setChoices(List<Choice<T>> choices)
choices - choicespublic void setDefaultValue(T[] defaultValue)
defaultValue - defaultValue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||