Package org.alfresco.repo.dictionary
Class M2Property
- java.lang.Object
-
- org.alfresco.repo.dictionary.M2Property
-
public class M2Property extends java.lang.ObjectProperty Definition- Author:
- David Caruana
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description M2ConstraintaddConstraint(java.lang.String name, java.lang.String type)M2ConstraintaddConstraintRef(java.lang.String refName)java.lang.StringgetAnalyserResourceBundleName()java.util.List<M2Constraint>getConstraints()java.lang.StringgetDefaultValue()java.lang.StringgetDescription()IndexTokenisationModegetIndexTokenisationMode()java.lang.StringgetName()java.lang.StringgetTitle()java.lang.StringgetType()booleanhasConstraints()java.lang.BooleanisFacetable()java.lang.BooleanisIndexed()java.lang.BooleanisIndexedAtomically()booleanisMandatory()booleanisMandatoryEnforced()booleanisMultiValued()booleanisOverride()booleanisProtected()java.lang.BooleanisStoredInIndex()voidremoveConstraint(java.lang.String name)voidremoveConstraintRef(java.lang.String refName)voidsetAnalyserResourceBundleName(java.lang.String analyserResourceBundleName)voidsetConfigProperties(java.util.Properties configProperties)voidsetDefaultValue(java.lang.String defaultValue)voidsetDescription(java.lang.String description)voidsetFacetable(boolean isFacetable)voidsetIndexed(boolean isIndexed)voidsetIndexedAtomically(boolean isIndexedAtomically)voidsetIndexTokenisationMode(IndexTokenisationMode indexTokenisationMode)voidsetMandatory(boolean isMandatory)voidsetMandatoryEnforced(boolean isMandatoryEnforced)voidsetMultiValued(boolean isMultiValued)voidsetName(java.lang.String name)voidsetOverride(boolean isOverride)voidsetProtected(boolean isProtected)voidsetStoredInIndex(boolean isStoredInIndex)voidsetTitle(java.lang.String title)voidsetType(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)
-
-