Class MockPropertyDefinition

  • All Implemented Interfaces:
    javax.jcr.nodetype.ItemDefinition, javax.jcr.nodetype.PropertyDefinition

    public class MockPropertyDefinition
    extends Object
    implements javax.jcr.nodetype.PropertyDefinition
    • Constructor Detail

      • MockPropertyDefinition

        public MockPropertyDefinition​(boolean multiple)
    • Method Detail

      • getDefaultValues

        public javax.jcr.Value[] getDefaultValues()
        Specified by:
        getDefaultValues in interface javax.jcr.nodetype.PropertyDefinition
      • getRequiredType

        public int getRequiredType()
        Specified by:
        getRequiredType in interface javax.jcr.nodetype.PropertyDefinition
      • getValueConstraints

        public String[] getValueConstraints()
        Specified by:
        getValueConstraints in interface javax.jcr.nodetype.PropertyDefinition
      • isMultiple

        public boolean isMultiple()
        Specified by:
        isMultiple in interface javax.jcr.nodetype.PropertyDefinition
      • getDeclaringNodeType

        public javax.jcr.nodetype.NodeType getDeclaringNodeType()
        Specified by:
        getDeclaringNodeType in interface javax.jcr.nodetype.ItemDefinition
      • getName

        public String getName()
        Specified by:
        getName in interface javax.jcr.nodetype.ItemDefinition
      • getOnParentVersion

        public int getOnParentVersion()
        Specified by:
        getOnParentVersion in interface javax.jcr.nodetype.ItemDefinition
      • isAutoCreated

        public boolean isAutoCreated()
        Specified by:
        isAutoCreated in interface javax.jcr.nodetype.ItemDefinition
      • isMandatory

        public boolean isMandatory()
        Specified by:
        isMandatory in interface javax.jcr.nodetype.ItemDefinition
      • isProtected

        public boolean isProtected()
        Specified by:
        isProtected in interface javax.jcr.nodetype.ItemDefinition
      • getAvailableQueryOperators

        public String[] getAvailableQueryOperators()
        Specified by:
        getAvailableQueryOperators in interface javax.jcr.nodetype.PropertyDefinition
      • isFullTextSearchable

        public boolean isFullTextSearchable()
        Specified by:
        isFullTextSearchable in interface javax.jcr.nodetype.PropertyDefinition
      • isQueryOrderable

        public boolean isQueryOrderable()
        Specified by:
        isQueryOrderable in interface javax.jcr.nodetype.PropertyDefinition