org.xcmis.client.gwt.model.property
Interface PropertyDefinition<T>
- All Known Implementing Classes:
- BasePropertyDefinition, BooleanPropertyDefinition, DateTimePropertyDefinition, DecimalPropertyDefinition, HtmlPropertyDefinition, IdPropertyDefinition, IntegerPropertyDefinition, StringPropertyDefinition, UriPropertyDefinition
public interface PropertyDefinition<T>
Simple plain implementation of PropertyDefinition.
- Version:
- $Id: $
- Author:
- Andrey Parfonov
getId
String getId()
- Returns:
- property id
getLocalName
String getLocalName()
- Returns:
- property local name
getLocalNamespace
String getLocalNamespace()
- Returns:
- property local namespace
getQueryName
String getQueryName()
- Returns:
- property query name
getDisplayName
String getDisplayName()
- Returns:
- property display name
getDescription
String getDescription()
- Returns:
- description
getPropertyType
EnumPropertyType getPropertyType()
- Returns:
- property type
getCardinality
EnumCardinality getCardinality()
- Returns:
- cardinality
getUpdatability
EnumUpdatability getUpdatability()
- Returns:
- updatability
isInherited
Boolean isInherited()
- Returns:
- is inherited
isRequired
Boolean isRequired()
- Returns:
- is required
isQueryable
Boolean isQueryable()
- Returns:
- is querable
isOrderable
Boolean isOrderable()
- Returns:
- is orderable
getChoices
List<Choice<T>> getChoices()
- Returns:
- choices for property value
- See Also:
Choice
isOpenChoice
Boolean isOpenChoice()
- Indicates is choice for property value is open. If
false then
value of property must be one of provided by 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 getChoices() returns other then
null or empty list). For other properties this method should
return null.
- Returns:
true if choice of value of property is open
false otherwise and null for properties
that not provide choices
getDefaultValue
T[] getDefaultValue()
- Returns:
- default property value. This value may be used if value for
property is not provided
Copyright © 2010 eXo Platform SAS. All Rights Reserved.