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>
- Author:
- Jamal Kaabi-Mofrad
-
Constructor Summary
ConstructorsConstructorDescriptionCustomModelProperty
(org.alfresco.service.cmr.dictionary.PropertyDefinition propertyDefinition, org.alfresco.service.cmr.i18n.MessageLookup messageLookup) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
void
setConstraintRefs
(List<String> constraintRefs) void
setConstraints
(List<CustomModelConstraint> constraints) void
setDataType
(String dataType) void
setDefaultValue
(String defaultValue) void
setFacetable
(Facetable facetable) void
setIndexed
(boolean isIndexed) void
setIndexTokenisationMode
(IndexTokenisationMode indexTokenisationMode) void
setMandatory
(boolean isMandatory) void
setMandatoryEnforced
(boolean isMandatoryEnforced) void
setMultiValued
(boolean isMultiValued) toString()
Methods inherited from class org.alfresco.rest.api.model.AbstractCommonDetails
compareTo, equals, getDescription, getName, getPrefixedName, getTitle, hashCode, setDescription, setName, setTitle
-
Constructor Details
-
CustomModelProperty
public CustomModelProperty() -
CustomModelProperty
public CustomModelProperty(org.alfresco.service.cmr.dictionary.PropertyDefinition propertyDefinition, org.alfresco.service.cmr.i18n.MessageLookup messageLookup)
-
-
Method Details
-
getDataType
-
setDataType
-
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
-
setDefaultValue
-
isIndexed
public boolean isIndexed() -
setIndexed
public void setIndexed(boolean isIndexed) -
getFacetable
-
setFacetable
-
getIndexTokenisationMode
-
setIndexTokenisationMode
-
getConstraintRefs
-
setConstraintRefs
-
getConstraints
-
setConstraints
-
toString
-