|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.cmis.dictionary.CMISBasePropertyDefinition
public class CMISBasePropertyDefinition
CMIS Property Definition
Constructor Summary | |
---|---|
CMISBasePropertyDefinition(CMISMapping cmisMapping,
CMISPropertyId propertyId,
org.alfresco.service.cmr.dictionary.PropertyDefinition propDef,
CMISTypeDefinition typeDef)
Construct |
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? |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CMISBasePropertyDefinition(CMISMapping cmisMapping, CMISPropertyId propertyId, org.alfresco.service.cmr.dictionary.PropertyDefinition propDef, CMISTypeDefinition typeDef)
cmisMapping
- propertyId
- propDef
- typeDef
- Method Detail |
---|
public CMISPropertyId getPropertyId()
getPropertyId
in interface CMISPropertyDefinition
public CMISTypeDefinition getOwningType()
getOwningType
in interface CMISPropertyDefinition
public java.lang.String getQueryName()
getQueryName
in interface CMISPropertyDefinition
public java.lang.String getDisplayName()
getDisplayName
in interface CMISPropertyDefinition
public java.lang.String getDescription()
getDescription
in interface CMISPropertyDefinition
public CMISDataTypeEnum getDataType()
getDataType
in interface CMISPropertyDefinition
public CMISCardinalityEnum getCardinality()
getCardinality
in interface CMISPropertyDefinition
public int getMaximumLength()
getMaximumLength
in interface CMISPropertyDefinition
public java.lang.Double getMinValue()
CMISPropertyDefinition
getMinValue
in interface CMISPropertyDefinition
public java.lang.Double getMaxValue()
CMISPropertyDefinition
getMaxValue
in interface CMISPropertyDefinition
public java.util.Collection getChoices()
getChoices
in interface CMISPropertyDefinition
public boolean isOpenChoice()
isOpenChoice
in interface CMISPropertyDefinition
public boolean isRequired()
isRequired
in interface CMISPropertyDefinition
public java.lang.String getDefaultValue()
getDefaultValue
in interface CMISPropertyDefinition
public CMISUpdatabilityEnum getUpdatability()
getUpdatability
in interface CMISPropertyDefinition
public boolean isQueryable()
isQueryable
in interface CMISPropertyDefinition
public boolean isOrderable()
isOrderable
in interface CMISPropertyDefinition
public CMISPropertyAccessor getPropertyAccessor()
getPropertyAccessor
in interface CMISPropertyDefinition
public org.alfresco.opencmis.dictionary.CMISPropertyLuceneBuilder getPropertyLuceneBuilder()
getPropertyLuceneBuilder
in interface CMISPropertyDefinition
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |