public class MockPropertyDefinition extends Object implements javax.jcr.nodetype.PropertyDefinition
Constructor and Description |
---|
MockPropertyDefinition(boolean multiple) |
Modifier and Type | Method and Description |
---|---|
String[] |
getAvailableQueryOperators() |
javax.jcr.nodetype.NodeType |
getDeclaringNodeType() |
javax.jcr.Value[] |
getDefaultValues() |
String |
getName() |
int |
getOnParentVersion() |
int |
getRequiredType() |
String[] |
getValueConstraints() |
boolean |
isAutoCreated() |
boolean |
isFullTextSearchable() |
boolean |
isMandatory() |
boolean |
isMultiple() |
boolean |
isProtected() |
boolean |
isQueryOrderable() |
public javax.jcr.Value[] getDefaultValues()
getDefaultValues
in interface javax.jcr.nodetype.PropertyDefinition
public int getRequiredType()
getRequiredType
in interface javax.jcr.nodetype.PropertyDefinition
public String[] getValueConstraints()
getValueConstraints
in interface javax.jcr.nodetype.PropertyDefinition
public boolean isMultiple()
isMultiple
in interface javax.jcr.nodetype.PropertyDefinition
public javax.jcr.nodetype.NodeType getDeclaringNodeType()
getDeclaringNodeType
in interface javax.jcr.nodetype.ItemDefinition
public String getName()
getName
in interface javax.jcr.nodetype.ItemDefinition
public int getOnParentVersion()
getOnParentVersion
in interface javax.jcr.nodetype.ItemDefinition
public boolean isAutoCreated()
isAutoCreated
in interface javax.jcr.nodetype.ItemDefinition
public boolean isMandatory()
isMandatory
in interface javax.jcr.nodetype.ItemDefinition
public boolean isProtected()
isProtected
in interface javax.jcr.nodetype.ItemDefinition
public String[] getAvailableQueryOperators()
getAvailableQueryOperators
in interface javax.jcr.nodetype.PropertyDefinition
public boolean isFullTextSearchable()
isFullTextSearchable
in interface javax.jcr.nodetype.PropertyDefinition
public boolean isQueryOrderable()
isQueryOrderable
in interface javax.jcr.nodetype.PropertyDefinition
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.