Package org.alfresco.repo.dictionary
Class M2Property
- java.lang.Object
-
- org.alfresco.repo.dictionary.M2Property
-
public class M2Property extends java.lang.Object
Property Definition- Author:
- David Caruana
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description M2Constraint
addConstraint(java.lang.String name, java.lang.String type)
M2Constraint
addConstraintRef(java.lang.String refName)
java.lang.String
getAnalyserResourceBundleName()
java.util.List<M2Constraint>
getConstraints()
java.lang.String
getDefaultValue()
java.lang.String
getDescription()
IndexTokenisationMode
getIndexTokenisationMode()
java.lang.String
getName()
java.lang.String
getTitle()
java.lang.String
getType()
boolean
hasConstraints()
java.lang.Boolean
isFacetable()
java.lang.Boolean
isIndexed()
java.lang.Boolean
isIndexedAtomically()
boolean
isMandatory()
boolean
isMandatoryEnforced()
boolean
isMultiValued()
boolean
isOverride()
boolean
isProtected()
java.lang.Boolean
isStoredInIndex()
void
removeConstraint(java.lang.String name)
void
removeConstraintRef(java.lang.String refName)
void
setAnalyserResourceBundleName(java.lang.String analyserResourceBundleName)
void
setConfigProperties(java.util.Properties configProperties)
void
setDefaultValue(java.lang.String defaultValue)
void
setDescription(java.lang.String description)
void
setFacetable(boolean isFacetable)
void
setIndexed(boolean isIndexed)
void
setIndexedAtomically(boolean isIndexedAtomically)
void
setIndexTokenisationMode(IndexTokenisationMode indexTokenisationMode)
void
setMandatory(boolean isMandatory)
void
setMandatoryEnforced(boolean isMandatoryEnforced)
void
setMultiValued(boolean isMultiValued)
void
setName(java.lang.String name)
void
setOverride(boolean isOverride)
void
setProtected(boolean isProtected)
void
setStoredInIndex(boolean isStoredInIndex)
void
setTitle(java.lang.String title)
void
setType(java.lang.String type)
-
-
-
Method Detail
-
isOverride
public boolean isOverride()
-
setOverride
public void setOverride(boolean isOverride)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getTitle
public java.lang.String getTitle()
-
setTitle
public void setTitle(java.lang.String title)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
getType
public java.lang.String getType()
-
setType
public void setType(java.lang.String type)
-
isProtected
public boolean isProtected()
-
setProtected
public void setProtected(boolean isProtected)
-
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 java.lang.String getDefaultValue()
-
setDefaultValue
public void setDefaultValue(java.lang.String defaultValue)
-
isIndexed
public java.lang.Boolean isIndexed()
-
setIndexed
public void setIndexed(boolean isIndexed)
-
isStoredInIndex
public java.lang.Boolean isStoredInIndex()
-
setStoredInIndex
public void setStoredInIndex(boolean isStoredInIndex)
-
isFacetable
public java.lang.Boolean isFacetable()
-
setFacetable
public void setFacetable(boolean isFacetable)
-
isIndexedAtomically
public java.lang.Boolean isIndexedAtomically()
-
setIndexedAtomically
public void setIndexedAtomically(boolean isIndexedAtomically)
-
getIndexTokenisationMode
public IndexTokenisationMode getIndexTokenisationMode()
-
setIndexTokenisationMode
public void setIndexTokenisationMode(IndexTokenisationMode indexTokenisationMode)
-
getConstraints
public java.util.List<M2Constraint> getConstraints()
-
hasConstraints
public boolean hasConstraints()
-
addConstraintRef
public M2Constraint addConstraintRef(java.lang.String refName)
-
addConstraint
public M2Constraint addConstraint(java.lang.String name, java.lang.String type)
-
removeConstraintRef
public void removeConstraintRef(java.lang.String refName)
-
removeConstraint
public void removeConstraint(java.lang.String name)
-
getAnalyserResourceBundleName
public java.lang.String getAnalyserResourceBundleName()
- Returns:
- String
-
setAnalyserResourceBundleName
public void setAnalyserResourceBundleName(java.lang.String analyserResourceBundleName)
-
setConfigProperties
public void setConfigProperties(java.util.Properties configProperties)
-
-