org.alfresco.cmis
Interface CMISPropertyDefinition

All Known Implementing Classes:
CMISBasePropertyDefinition

public interface CMISPropertyDefinition

CMIS Property Definition


Method Summary
 CMISCardinalityEnum getCardinality()
          Get the cardinality
 java.util.Collection getChoices()
          Get the choices available as values for this property TODO: not implemented yet
 CMISDataTypeEnum getDataType()
          Get the property type
 java.lang.String getDefaultValue()
          get the default value as a String
 java.lang.String getDescription()
          Get the description
 java.lang.String getDisplayName()
          Get the display name
 int getMaximumLength()
          For variable length properties, get the maximum length allowed.
 java.lang.Double getMaxValue()
          For Integer and Decimal properties, get the maximum value allowed
 java.lang.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
 java.lang.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?
 

Method Detail

getPropertyId

CMISPropertyId getPropertyId()
Get Property Id

Returns:

getOwningType

CMISTypeDefinition getOwningType()
Get Owning Type

Returns:

getQueryName

java.lang.String getQueryName()
Get the query name

Returns:

getDisplayName

java.lang.String getDisplayName()
Get the display name

Returns:

getDescription

java.lang.String getDescription()
Get the description

Returns:

getDataType

CMISDataTypeEnum getDataType()
Get the property type

Returns:

getCardinality

CMISCardinalityEnum getCardinality()
Get the cardinality

Returns:

getChoices

java.util.Collection getChoices()
Get the choices available as values for this property TODO: not implemented yet

Returns:

isOpenChoice

boolean isOpenChoice()
Is this a choice where a user can enter other values (ie a list with common options)

Returns:

isRequired

boolean isRequired()
Is this property required?

Returns:

getDefaultValue

java.lang.String getDefaultValue()
get the default value as a String

Returns:

getUpdatability

CMISUpdatabilityEnum getUpdatability()
Is this property updatable?

Returns:

isQueryable

boolean isQueryable()
Is this property queryable?

Returns:

isOrderable

boolean isOrderable()
Is this property orderable in queries?

Returns:

getMaximumLength

int getMaximumLength()
For variable length properties, get the maximum length allowed.

Returns:

getMinValue

java.lang.Double getMinValue()
For Integer and Decimal properties, get the minimum value allowed

Returns:

getMaxValue

java.lang.Double getMaxValue()
For Integer and Decimal properties, get the maximum value allowed

Returns:

getPropertyAccessor

CMISPropertyAccessor getPropertyAccessor()
Gets the property accessor (for reading / writing values)

Returns:

getPropertyLuceneBuilder

org.alfresco.opencmis.dictionary.CMISPropertyLuceneBuilder getPropertyLuceneBuilder()
Gets the property Lucene builder

Returns:


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.