Class MockPropertyDefinition

  • All Implemented Interfaces:
    Serializable, org.alfresco.service.cmr.dictionary.ClassAttributeDefinition, org.alfresco.service.cmr.dictionary.PropertyDefinition

    public class MockPropertyDefinition
    extends Object
    implements org.alfresco.service.cmr.dictionary.PropertyDefinition, Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • MockPropertyDefinition

        public MockPropertyDefinition​(org.alfresco.service.namespace.QName name)
    • Method Detail

      • getModel

        public org.alfresco.service.cmr.dictionary.ModelDefinition getModel()
        Specified by:
        getModel in interface org.alfresco.service.cmr.dictionary.ClassAttributeDefinition
        Specified by:
        getModel in interface org.alfresco.service.cmr.dictionary.PropertyDefinition
      • getName

        public org.alfresco.service.namespace.QName getName()
        Specified by:
        getName in interface org.alfresco.service.cmr.dictionary.ClassAttributeDefinition
        Specified by:
        getName in interface org.alfresco.service.cmr.dictionary.PropertyDefinition
      • getTitle

        public String getTitle()
        Specified by:
        getTitle in interface org.alfresco.service.cmr.dictionary.PropertyDefinition
      • getDescription

        public String getDescription()
        Specified by:
        getDescription in interface org.alfresco.service.cmr.dictionary.PropertyDefinition
      • getTitle

        public String getTitle​(org.alfresco.service.cmr.i18n.MessageLookup messageLookup)
        Specified by:
        getTitle in interface org.alfresco.service.cmr.dictionary.ClassAttributeDefinition
        Specified by:
        getTitle in interface org.alfresco.service.cmr.dictionary.PropertyDefinition
      • getDescription

        public String getDescription​(org.alfresco.service.cmr.i18n.MessageLookup messageLookup)
        Specified by:
        getDescription in interface org.alfresco.service.cmr.dictionary.ClassAttributeDefinition
        Specified by:
        getDescription in interface org.alfresco.service.cmr.dictionary.PropertyDefinition
      • getDefaultValue

        public String getDefaultValue()
        Specified by:
        getDefaultValue in interface org.alfresco.service.cmr.dictionary.PropertyDefinition
      • getDataType

        public org.alfresco.service.cmr.dictionary.DataTypeDefinition getDataType()
        Specified by:
        getDataType in interface org.alfresco.service.cmr.dictionary.PropertyDefinition
      • getContainerClass

        public org.alfresco.service.cmr.dictionary.ClassDefinition getContainerClass()
        Specified by:
        getContainerClass in interface org.alfresco.service.cmr.dictionary.PropertyDefinition
      • isOverride

        public boolean isOverride()
        Specified by:
        isOverride in interface org.alfresco.service.cmr.dictionary.PropertyDefinition
      • isMultiValued

        public boolean isMultiValued()
        Specified by:
        isMultiValued in interface org.alfresco.service.cmr.dictionary.PropertyDefinition
      • isMandatory

        public boolean isMandatory()
        Specified by:
        isMandatory in interface org.alfresco.service.cmr.dictionary.PropertyDefinition
      • isMandatoryEnforced

        public boolean isMandatoryEnforced()
        Specified by:
        isMandatoryEnforced in interface org.alfresco.service.cmr.dictionary.PropertyDefinition
      • isProtected

        public boolean isProtected()
        Specified by:
        isProtected in interface org.alfresco.service.cmr.dictionary.ClassAttributeDefinition
        Specified by:
        isProtected in interface org.alfresco.service.cmr.dictionary.PropertyDefinition
      • isIndexed

        public boolean isIndexed()
        Specified by:
        isIndexed in interface org.alfresco.service.cmr.dictionary.PropertyDefinition
      • isStoredInIndex

        public boolean isStoredInIndex()
        Specified by:
        isStoredInIndex in interface org.alfresco.service.cmr.dictionary.PropertyDefinition
      • getIndexTokenisationMode

        public org.alfresco.repo.dictionary.IndexTokenisationMode getIndexTokenisationMode()
        Specified by:
        getIndexTokenisationMode in interface org.alfresco.service.cmr.dictionary.PropertyDefinition
      • isIndexedAtomically

        public boolean isIndexedAtomically()
        Specified by:
        isIndexedAtomically in interface org.alfresco.service.cmr.dictionary.PropertyDefinition
      • getConstraints

        public List<org.alfresco.service.cmr.dictionary.ConstraintDefinition> getConstraints()
        Specified by:
        getConstraints in interface org.alfresco.service.cmr.dictionary.PropertyDefinition
      • getAnalyserResourceBundleName

        public String getAnalyserResourceBundleName()
        Specified by:
        getAnalyserResourceBundleName in interface org.alfresco.service.cmr.dictionary.PropertyDefinition
      • resolveAnalyserClassName

        public String resolveAnalyserClassName​(Locale locale)
        Specified by:
        resolveAnalyserClassName in interface org.alfresco.service.cmr.dictionary.PropertyDefinition
      • resolveAnalyserClassName

        public String resolveAnalyserClassName()
        Specified by:
        resolveAnalyserClassName in interface org.alfresco.service.cmr.dictionary.PropertyDefinition
      • getTitle

        public String getTitle​(org.alfresco.service.cmr.i18n.MessageLookup messageLookup,
                               Locale locale)
        Specified by:
        getTitle in interface org.alfresco.service.cmr.dictionary.PropertyDefinition
      • getDescription

        public String getDescription​(org.alfresco.service.cmr.i18n.MessageLookup messageLookup,
                                     Locale locale)
        Specified by:
        getDescription in interface org.alfresco.service.cmr.dictionary.PropertyDefinition
      • getFacetable

        public org.alfresco.repo.dictionary.Facetable getFacetable()
        Specified by:
        getFacetable in interface org.alfresco.service.cmr.dictionary.PropertyDefinition