public class CustomModelProperty extends AbstractCommonDetails
Constructor and Description |
---|
CustomModelProperty() |
CustomModelProperty(org.alfresco.service.cmr.dictionary.PropertyDefinition propertyDefinition,
org.alfresco.service.cmr.i18n.MessageLookup messageLookup) |
Modifier and Type | Method and 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() |
compareTo, equals, getDescription, getName, getPrefixedName, getTitle, hashCode, setDescription, setName, setTitle
public CustomModelProperty()
public CustomModelProperty(org.alfresco.service.cmr.dictionary.PropertyDefinition propertyDefinition, org.alfresco.service.cmr.i18n.MessageLookup messageLookup)
public String getDataType()
public void setDataType(String dataType)
public boolean isMandatory()
public void setMandatory(boolean isMandatory)
public boolean isMandatoryEnforced()
public void setMandatoryEnforced(boolean isMandatoryEnforced)
public boolean isMultiValued()
public void setMultiValued(boolean isMultiValued)
public String getDefaultValue()
public void setDefaultValue(String defaultValue)
public boolean isIndexed()
public void setIndexed(boolean isIndexed)
public org.alfresco.repo.dictionary.Facetable getFacetable()
public void setFacetable(org.alfresco.repo.dictionary.Facetable facetable)
public org.alfresco.repo.dictionary.IndexTokenisationMode getIndexTokenisationMode()
public void setIndexTokenisationMode(org.alfresco.repo.dictionary.IndexTokenisationMode indexTokenisationMode)
public List<CustomModelConstraint> getConstraints()
public void setConstraints(List<CustomModelConstraint> constraints)
Copyright © 2005–2017 Alfresco Software. All rights reserved.