Class MockPropertyDefinition
java.lang.Object
org.apache.sling.commons.testing.jcr.MockPropertyDefinition
- All Implemented Interfaces:
javax.jcr.nodetype.ItemDefinition,javax.jcr.nodetype.PropertyDefinition
-
Constructor Details
-
MockPropertyDefinition
public MockPropertyDefinition(boolean multiple)
-
-
Method Details
-
getDefaultValues
public javax.jcr.Value[] getDefaultValues()- Specified by:
getDefaultValuesin interfacejavax.jcr.nodetype.PropertyDefinition
-
getRequiredType
public int getRequiredType()- Specified by:
getRequiredTypein interfacejavax.jcr.nodetype.PropertyDefinition
-
getValueConstraints
- Specified by:
getValueConstraintsin interfacejavax.jcr.nodetype.PropertyDefinition
-
isMultiple
public boolean isMultiple()- Specified by:
isMultiplein interfacejavax.jcr.nodetype.PropertyDefinition
-
getDeclaringNodeType
public javax.jcr.nodetype.NodeType getDeclaringNodeType()- Specified by:
getDeclaringNodeTypein interfacejavax.jcr.nodetype.ItemDefinition
-
getName
- Specified by:
getNamein interfacejavax.jcr.nodetype.ItemDefinition
-
getOnParentVersion
public int getOnParentVersion()- Specified by:
getOnParentVersionin interfacejavax.jcr.nodetype.ItemDefinition
-
isAutoCreated
public boolean isAutoCreated()- Specified by:
isAutoCreatedin interfacejavax.jcr.nodetype.ItemDefinition
-
isMandatory
public boolean isMandatory()- Specified by:
isMandatoryin interfacejavax.jcr.nodetype.ItemDefinition
-
isProtected
public boolean isProtected()- Specified by:
isProtectedin interfacejavax.jcr.nodetype.ItemDefinition
-
getAvailableQueryOperators
- Specified by:
getAvailableQueryOperatorsin interfacejavax.jcr.nodetype.PropertyDefinition
-
isFullTextSearchable
public boolean isFullTextSearchable()- Specified by:
isFullTextSearchablein interfacejavax.jcr.nodetype.PropertyDefinition
-
isQueryOrderable
public boolean isQueryOrderable()- Specified by:
isQueryOrderablein interfacejavax.jcr.nodetype.PropertyDefinition
-