Package org.alfresco.model.model
Class Property
java.lang.Object
org.alfresco.model.model.Property
Property
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConstraintsItem(Constraint constraintsItem) constraints(List<Constraint> constraints) defaultValue(String defaultValue) description(String description) boolean@Valid List<Constraint>list of constraints defined for the propertythe name of the property type (e.g. d:text)the default valuethe human-readable description@NotNull StringgetId()Get idgetTitle()the human-readable titleinthashCode()define if the property is mandatorydefine if the presence of mandatory properties is enforceddefine if the property is multi-valueddefine if the property is system maintainedisMandatory(Boolean isMandatory) isMandatoryEnforced(Boolean isMandatoryEnforced) isMultiValued(Boolean isMultiValued) isProtected(Boolean isProtected) voidsetConstraints(List<Constraint> constraints) voidsetDataType(String dataType) voidsetDefaultValue(String defaultValue) voidsetDescription(String description) voidvoidsetIsMandatory(Boolean isMandatory) voidsetIsMandatoryEnforced(Boolean isMandatoryEnforced) voidsetIsMultiValued(Boolean isMultiValued) voidsetIsProtected(Boolean isProtected) voidtoString()
-
Constructor Details
-
Property
public Property()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
title
-
getTitle
the human-readable title- Returns:
- title
-
setTitle
-
description
-
getDescription
the human-readable description- Returns:
- description
-
setDescription
-
defaultValue
-
getDefaultValue
the default value- Returns:
- defaultValue
-
setDefaultValue
-
dataType
-
getDataType
the name of the property type (e.g. d:text)- Returns:
- dataType
-
setDataType
-
isMultiValued
-
isIsMultiValued
define if the property is multi-valued- Returns:
- isMultiValued
-
setIsMultiValued
-
isMandatory
-
isIsMandatory
define if the property is mandatory- Returns:
- isMandatory
-
setIsMandatory
-
isMandatoryEnforced
-
isIsMandatoryEnforced
define if the presence of mandatory properties is enforced- Returns:
- isMandatoryEnforced
-
setIsMandatoryEnforced
-
isProtected
-
isIsProtected
define if the property is system maintained- Returns:
- isProtected
-
setIsProtected
-
constraints
-
addConstraintsItem
-
getConstraints
list of constraints defined for the property- Returns:
- constraints
-
setConstraints
-
equals
-
hashCode
public int hashCode() -
toString
-