public final class PropertyDefinitionImpl extends ItemDefinitionImpl implements PropertyDefinition
PropertyDefinitionImpl
...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
Modifier and Type | Method and 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
|
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
public static PropertyDefinitionImpl create(PropertyDefinition definition)
public int getRequiredType()
getRequiredType
in interface PropertyDefinition
PropertyDefinition.getRequiredType()
public String[] getValueConstraints()
getValueConstraints
in interface PropertyDefinition
PropertyDefinition.getValueConstraints()
public Value[] getDefaultValues()
getDefaultValues
in interface PropertyDefinition
PropertyDefinition.getDefaultValues()
public boolean isMultiple()
isMultiple
in interface PropertyDefinition
PropertyDefinition.isMultiple()
public String[] getAvailableQueryOperators()
getAvailableQueryOperators
in interface PropertyDefinition
PropertyDefinition.getAvailableQueryOperators()
public boolean isFullTextSearchable()
isFullTextSearchable
in interface PropertyDefinition
PropertyDefinition.isFullTextSearchable()
public boolean isQueryOrderable()
isQueryOrderable
in interface PropertyDefinition
PropertyDefinition.isQueryOrderable()
public Element toXml(Document document)
toXml
in interface XmlSerializable
toXml
in class ItemDefinitionImpl
document
- Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.