Class PropertyDefinitionImpl
- java.lang.Object
-
- org.apache.jackrabbit.webdav.jcr.nodetype.ItemDefinitionImpl
-
- org.apache.jackrabbit.webdav.jcr.nodetype.PropertyDefinitionImpl
-
- All Implemented Interfaces:
ItemDefinition
,PropertyDefinition
,NodeTypeConstants
,XmlSerializable
public final class PropertyDefinitionImpl extends ItemDefinitionImpl implements PropertyDefinition
PropertyDefinitionImpl
...
-
-
Field Summary
-
Fields inherited from interface org.apache.jackrabbit.commons.webdav.NodeTypeConstants
AUTOCREATED_ATTRIBUTE, AVAILABLE_QUERY_OPERATOR_ELEMENT, AVAILABLE_QUERY_OPERATORS_ELEMENT, CHILDNODEDEFINITION_ELEMENT, DECLARINGNODETYPE_ATTRIBUTE, DEFAULTPRIMARYTYPE_ATTRIBUTE, DEFAULTVALUE_ELEMENT, DEFAULTVALUES_ELEMENT, FULL_TEXT_SEARCHABLE_ATTRIBUTE, HASORDERABLECHILDNODES_ATTRIBUTE, ISABSTRACT_ATTRIBUTE, ISMIXIN_ATTRIBUTE, ISQUERYABLE_ATTRIBUTE, MANDATORY_ATTRIBUTE, MULTIPLE_ATTRIBUTE, NAME_ATTRIBUTE, NODETYPE_ELEMENT, NODETYPES_ELEMENT, ONPARENTVERSION_ATTRIBUTE, PRIMARYITEMNAME_ATTRIBUTE, PROPERTYDEFINITION_ELEMENT, PROTECTED_ATTRIBUTE, QUERY_ORDERABLE_ATTRIBUTE, REQUIREDPRIMARYTYPE_ELEMENT, REQUIREDPRIMARYTYPES_ELEMENT, REQUIREDTYPE_ATTRIBUTE, SAMENAMESIBLINGS_ATTRIBUTE, SUPERTYPE_ELEMENT, SUPERTYPES_ELEMENT, VALUECONSTRAINT_ELEMENT, VALUECONSTRAINTS_ELEMENT, XML_NODETYPE, XML_NODETYPENAME, XML_NODETYPES, XML_REPORT_ALLNODETYPES, XML_REPORT_MIXINNODETYPES, XML_REPORT_PRIMARYNODETYPES
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PropertyDefinitionImpl
create(PropertyDefinition definition)
String[]
getAvailableQueryOperators()
Value[]
getDefaultValues()
int
getRequiredType()
String[]
getValueConstraints()
boolean
isFullTextSearchable()
boolean
isMultiple()
boolean
isQueryOrderable()
Element
toXml(Document document)
Return xml representation-
Methods inherited from class org.apache.jackrabbit.webdav.jcr.nodetype.ItemDefinitionImpl
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.jcr.nodetype.ItemDefinition
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
-
-
-
-
Method Detail
-
create
public static PropertyDefinitionImpl create(PropertyDefinition definition)
-
getRequiredType
public int getRequiredType()
- Specified by:
getRequiredType
in interfacePropertyDefinition
- See Also:
PropertyDefinition.getRequiredType()
-
getValueConstraints
public String[] getValueConstraints()
- Specified by:
getValueConstraints
in interfacePropertyDefinition
- See Also:
PropertyDefinition.getValueConstraints()
-
getDefaultValues
public Value[] getDefaultValues()
- Specified by:
getDefaultValues
in interfacePropertyDefinition
- See Also:
PropertyDefinition.getDefaultValues()
-
isMultiple
public boolean isMultiple()
- Specified by:
isMultiple
in interfacePropertyDefinition
- See Also:
PropertyDefinition.isMultiple()
-
getAvailableQueryOperators
public String[] getAvailableQueryOperators()
- Specified by:
getAvailableQueryOperators
in interfacePropertyDefinition
- See Also:
PropertyDefinition.getAvailableQueryOperators()
-
isFullTextSearchable
public boolean isFullTextSearchable()
- Specified by:
isFullTextSearchable
in interfacePropertyDefinition
- See Also:
PropertyDefinition.isFullTextSearchable()
-
isQueryOrderable
public boolean isQueryOrderable()
- Specified by:
isQueryOrderable
in interfacePropertyDefinition
- See Also:
PropertyDefinition.isQueryOrderable()
-
toXml
public Element toXml(Document document)
Return xml representation- Specified by:
toXml
in interfaceXmlSerializable
- Overrides:
toXml
in classItemDefinitionImpl
- Parameters:
document
-- Returns:
- xml representation
-
-