public final class PropertyDefinitionImpl extends ItemDefinitionImpl implements javax.jcr.nodetype.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(javax.jcr.nodetype.PropertyDefinition definition) |
String[] |
getAvailableQueryOperators() |
javax.jcr.Value[] |
getDefaultValues() |
int |
getRequiredType() |
String[] |
getValueConstraints() |
boolean |
isFullTextSearchable() |
boolean |
isMultiple() |
boolean |
isQueryOrderable() |
Element |
toXml(Document document)
Return xml representation
|
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtectedpublic static PropertyDefinitionImpl create(javax.jcr.nodetype.PropertyDefinition definition)
public int getRequiredType()
getRequiredType in interface javax.jcr.nodetype.PropertyDefinitionPropertyDefinition.getRequiredType()public String[] getValueConstraints()
getValueConstraints in interface javax.jcr.nodetype.PropertyDefinitionPropertyDefinition.getValueConstraints()public javax.jcr.Value[] getDefaultValues()
getDefaultValues in interface javax.jcr.nodetype.PropertyDefinitionPropertyDefinition.getDefaultValues()public boolean isMultiple()
isMultiple in interface javax.jcr.nodetype.PropertyDefinitionPropertyDefinition.isMultiple()public String[] getAvailableQueryOperators()
getAvailableQueryOperators in interface javax.jcr.nodetype.PropertyDefinitionPropertyDefinition.getAvailableQueryOperators()public boolean isFullTextSearchable()
isFullTextSearchable in interface javax.jcr.nodetype.PropertyDefinitionPropertyDefinition.isFullTextSearchable()public boolean isQueryOrderable()
isQueryOrderable in interface javax.jcr.nodetype.PropertyDefinitionPropertyDefinition.isQueryOrderable()public Element toXml(Document document)
toXml in interface XmlSerializabletoXml in class ItemDefinitionImpldocument - Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.