org.apache.jackrabbit.webdav.jcr.nodetype
Class PropertyDefinitionImpl

java.lang.Object
  extended by org.apache.jackrabbit.webdav.jcr.nodetype.ItemDefinitionImpl
      extended by 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
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 interface PropertyDefinition
See Also:
PropertyDefinition.getRequiredType()

getValueConstraints

public String[] getValueConstraints()
Specified by:
getValueConstraints in interface PropertyDefinition
See Also:
PropertyDefinition.getValueConstraints()

getDefaultValues

public Value[] getDefaultValues()
Specified by:
getDefaultValues in interface PropertyDefinition
See Also:
PropertyDefinition.getDefaultValues()

isMultiple

public boolean isMultiple()
Specified by:
isMultiple in interface PropertyDefinition
See Also:
PropertyDefinition.isMultiple()

getAvailableQueryOperators

public String[] getAvailableQueryOperators()
Specified by:
getAvailableQueryOperators in interface PropertyDefinition
See Also:
PropertyDefinition.getAvailableQueryOperators()

isFullTextSearchable

public boolean isFullTextSearchable()
Specified by:
isFullTextSearchable in interface PropertyDefinition
See Also:
PropertyDefinition.isFullTextSearchable()

isQueryOrderable

public boolean isQueryOrderable()
Specified by:
isQueryOrderable in interface PropertyDefinition
See Also:
PropertyDefinition.isQueryOrderable()

toXml

public Element toXml(Document document)
Return xml representation

Specified by:
toXml in interface XmlSerializable
Overrides:
toXml in class ItemDefinitionImpl
Parameters:
document -
Returns:
xml representation


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.