public class PropertyDefinitionImpl extends Object implements PropertyDefinition
Constructor and Description |
---|
PropertyDefinitionImpl()
Instantiates a new tag impl.
|
PropertyDefinitionImpl(boolean isCmis,
org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition propertyDefinition) |
PropertyDefinitionImpl(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition propertyDefinition)
Instantiates a new tag impl.
|
Modifier and Type | Method and Description |
---|---|
List<Map<String,Object>> |
getAllowableValues()
Returns the list of values allowed for the property.
|
<T> T |
getDefaultValue()
Returns the default value for the property, null if a default value has
not been defined.
|
String |
getDescription()
Returns the description of the property.
|
String |
getName()
Returns the name of the property i.e.
|
String |
getTitle()
Returns the title of the property.
|
PropertyType |
getType()
Returns the data type of the property.
|
boolean |
isMultiValued()
Determines whether the property supports multiple values.
|
boolean |
isReadOnly()
Determines whether the property is read only.
|
boolean |
isRequired()
Determines whether the property is required.
|
public PropertyDefinitionImpl()
public PropertyDefinitionImpl(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition propertyDefinition)
value
- the value of the tagpublic PropertyDefinitionImpl(boolean isCmis, org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition propertyDefinition)
public String getName()
PropertyDefinition
getName
in interface PropertyDefinition
public String getTitle()
PropertyDefinition
getTitle
in interface PropertyDefinition
public String getDescription()
PropertyDefinition
getDescription
in interface PropertyDefinition
public PropertyType getType()
PropertyDefinition
getType
in interface PropertyDefinition
public boolean isRequired()
PropertyDefinition
isRequired
in interface PropertyDefinition
public boolean isMultiValued()
PropertyDefinition
isMultiValued
in interface PropertyDefinition
public boolean isReadOnly()
PropertyDefinition
isReadOnly
in interface PropertyDefinition
public <T> T getDefaultValue()
PropertyDefinition
getDefaultValue
in interface PropertyDefinition
public List<Map<String,Object>> getAllowableValues()
PropertyDefinition
getAllowableValues
in interface PropertyDefinition
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.