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.PropertyDefinitionpublic int getRequiredType()
getRequiredType in interface javax.jcr.nodetype.PropertyDefinitionpublic String[] getValueConstraints()
getValueConstraints in interface javax.jcr.nodetype.PropertyDefinitionpublic boolean isMultiple()
isMultiple in interface javax.jcr.nodetype.PropertyDefinitionpublic javax.jcr.nodetype.NodeType getDeclaringNodeType()
getDeclaringNodeType in interface javax.jcr.nodetype.ItemDefinitionpublic String getName()
getName in interface javax.jcr.nodetype.ItemDefinitionpublic int getOnParentVersion()
getOnParentVersion in interface javax.jcr.nodetype.ItemDefinitionpublic boolean isAutoCreated()
isAutoCreated in interface javax.jcr.nodetype.ItemDefinitionpublic boolean isMandatory()
isMandatory in interface javax.jcr.nodetype.ItemDefinitionpublic boolean isProtected()
isProtected in interface javax.jcr.nodetype.ItemDefinitionpublic String[] getAvailableQueryOperators()
getAvailableQueryOperators in interface javax.jcr.nodetype.PropertyDefinitionpublic boolean isFullTextSearchable()
isFullTextSearchable in interface javax.jcr.nodetype.PropertyDefinitionpublic boolean isQueryOrderable()
isQueryOrderable in interface javax.jcr.nodetype.PropertyDefinitionCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.