public class CMISBasePropertyDefinition extends Object implements CMISPropertyDefinition, Serializable
| Constructor and Description |
|---|
CMISBasePropertyDefinition(CMISMapping cmisMapping,
CMISPropertyId propertyId,
org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService,
org.alfresco.service.cmr.dictionary.PropertyDefinition propDef,
CMISTypeDefinition typeDef)
Construct
|
| Modifier and Type | Method and Description |
|---|---|
CMISCardinalityEnum |
getCardinality()
Get the cardinality
|
Collection<CMISChoice> |
getChoices()
Get the choices available as values for this property TODO: not
implemented yet
|
CMISDataTypeEnum |
getDataType()
Get the property type
|
String |
getDefaultValue()
get the default value as a String
|
String |
getDescription()
Get the description
|
String |
getDisplayName()
Get the display name
|
int |
getMaximumLength()
For variable length properties, get the maximum length allowed.
|
Double |
getMaxValue()
For Integer and Decimal properties, get the maximum value allowed
|
Double |
getMinValue()
For Integer and Decimal properties, get the minimum value allowed
|
CMISTypeDefinition |
getOwningType()
Get Owning Type
|
CMISPropertyAccessor |
getPropertyAccessor()
Gets the property accessor (for reading / writing values)
|
CMISPropertyId |
getPropertyId()
Get Property Id
|
org.alfresco.opencmis.dictionary.CMISPropertyLuceneBuilder |
getPropertyLuceneBuilder()
Gets the property Lucene builder
|
String |
getQueryName()
Get the query name
|
CMISUpdatabilityEnum |
getUpdatability()
Is this property updatable?
|
boolean |
isOpenChoice()
Is this a choice where a user can enter other values (ie a list with
common options)
|
boolean |
isOrderable()
Is this property orderable in queries?
|
boolean |
isQueryable()
Is this property queryable?
|
boolean |
isRequired()
Is this property required?
|
String |
toString() |
public CMISBasePropertyDefinition(CMISMapping cmisMapping, CMISPropertyId propertyId, org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService, org.alfresco.service.cmr.dictionary.PropertyDefinition propDef, CMISTypeDefinition typeDef)
cmisMapping - propertyId - propDef - typeDef - public CMISPropertyId getPropertyId()
getPropertyId in interface CMISPropertyDefinitionpublic CMISTypeDefinition getOwningType()
getOwningType in interface CMISPropertyDefinitionpublic String getQueryName()
getQueryName in interface CMISPropertyDefinitionpublic String getDisplayName()
getDisplayName in interface CMISPropertyDefinitionpublic String getDescription()
getDescription in interface CMISPropertyDefinitionpublic CMISDataTypeEnum getDataType()
getDataType in interface CMISPropertyDefinitionpublic CMISCardinalityEnum getCardinality()
getCardinality in interface CMISPropertyDefinitionpublic int getMaximumLength()
getMaximumLength in interface CMISPropertyDefinitionpublic Double getMinValue()
CMISPropertyDefinitiongetMinValue in interface CMISPropertyDefinitionpublic Double getMaxValue()
CMISPropertyDefinitiongetMaxValue in interface CMISPropertyDefinitionpublic Collection<CMISChoice> getChoices()
getChoices in interface CMISPropertyDefinitionpublic boolean isOpenChoice()
isOpenChoice in interface CMISPropertyDefinitionpublic boolean isRequired()
isRequired in interface CMISPropertyDefinitionpublic String getDefaultValue()
getDefaultValue in interface CMISPropertyDefinitionpublic CMISUpdatabilityEnum getUpdatability()
getUpdatability in interface CMISPropertyDefinitionpublic boolean isQueryable()
isQueryable in interface CMISPropertyDefinitionpublic boolean isOrderable()
isOrderable in interface CMISPropertyDefinitionpublic CMISPropertyAccessor getPropertyAccessor()
getPropertyAccessor in interface CMISPropertyDefinitionpublic org.alfresco.opencmis.dictionary.CMISPropertyLuceneBuilder getPropertyLuceneBuilder()
getPropertyLuceneBuilder in interface CMISPropertyDefinitionCopyright © 2005–2014 Alfresco Software. All rights reserved.