Package org.alfresco.rest.api.model
Class CustomModelProperty
- java.lang.Object
-
- org.alfresco.rest.api.model.AbstractCommonDetails
-
- org.alfresco.rest.api.model.CustomModelProperty
-
- All Implemented Interfaces:
Comparable<AbstractCommonDetails>
public class CustomModelProperty extends AbstractCommonDetails
- Author:
- Jamal Kaabi-Mofrad
-
-
Constructor Summary
Constructors Constructor Description CustomModelProperty()
CustomModelProperty(org.alfresco.service.cmr.dictionary.PropertyDefinition propertyDefinition, org.alfresco.service.cmr.i18n.MessageLookup messageLookup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getConstraintRefs()
List<CustomModelConstraint>
getConstraints()
String
getDataType()
String
getDefaultValue()
org.alfresco.repo.dictionary.Facetable
getFacetable()
org.alfresco.repo.dictionary.IndexTokenisationMode
getIndexTokenisationMode()
boolean
isIndexed()
boolean
isMandatory()
boolean
isMandatoryEnforced()
boolean
isMultiValued()
void
setConstraintRefs(List<String> constraintRefs)
void
setConstraints(List<CustomModelConstraint> constraints)
void
setDataType(String dataType)
void
setDefaultValue(String defaultValue)
void
setFacetable(org.alfresco.repo.dictionary.Facetable facetable)
void
setIndexed(boolean isIndexed)
void
setIndexTokenisationMode(org.alfresco.repo.dictionary.IndexTokenisationMode indexTokenisationMode)
void
setMandatory(boolean isMandatory)
void
setMandatoryEnforced(boolean isMandatoryEnforced)
void
setMultiValued(boolean isMultiValued)
String
toString()
-
Methods inherited from class org.alfresco.rest.api.model.AbstractCommonDetails
compareTo, equals, getDescription, getName, getPrefixedName, getTitle, hashCode, setDescription, setName, setTitle
-
-
-
-
Method Detail
-
getDataType
public String getDataType()
-
setDataType
public void setDataType(String dataType)
-
isMandatory
public boolean isMandatory()
-
setMandatory
public void setMandatory(boolean isMandatory)
-
isMandatoryEnforced
public boolean isMandatoryEnforced()
-
setMandatoryEnforced
public void setMandatoryEnforced(boolean isMandatoryEnforced)
-
isMultiValued
public boolean isMultiValued()
-
setMultiValued
public void setMultiValued(boolean isMultiValued)
-
getDefaultValue
public String getDefaultValue()
-
setDefaultValue
public void setDefaultValue(String defaultValue)
-
isIndexed
public boolean isIndexed()
-
setIndexed
public void setIndexed(boolean isIndexed)
-
getFacetable
public org.alfresco.repo.dictionary.Facetable getFacetable()
-
setFacetable
public void setFacetable(org.alfresco.repo.dictionary.Facetable facetable)
-
getIndexTokenisationMode
public org.alfresco.repo.dictionary.IndexTokenisationMode getIndexTokenisationMode()
-
setIndexTokenisationMode
public void setIndexTokenisationMode(org.alfresco.repo.dictionary.IndexTokenisationMode indexTokenisationMode)
-
getConstraints
public List<CustomModelConstraint> getConstraints()
-
setConstraints
public void setConstraints(List<CustomModelConstraint> constraints)
-
-