public class ExtendedPropertyDefinition extends ExtendedItemDefinition implements javax.jcr.nodetype.PropertyDefinition
| Modifier and Type | Field and Description |
|---|---|
static int |
INDEXED_NO |
static int |
INDEXED_TOKENIZED |
static int |
INDEXED_UNTOKENIZED |
static int |
STORE_COMPRESS |
static int |
STORE_NO |
static int |
STORE_YES |
selector| Constructor and Description |
|---|
ExtendedPropertyDefinition(NodeTypeRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAnalyzer() |
String[] |
getAvailableQueryOperators() |
javax.jcr.Value[] |
getDefaultValues() |
javax.jcr.Value[] |
getDefaultValues(Locale locale)
Get default values, as value object
|
javax.jcr.Value[] |
getDefaultValuesAsUnexpandedValue()
Get default values, unexpanded
|
int |
getIndex() |
String |
getMessage(String msgKeySuffix,
Locale locale) |
int |
getRequiredType() |
double |
getScoreboost() |
org.apache.jackrabbit.spi.commons.nodetype.constraint.ValueConstraint[] |
getValueConstraintObjects() |
String[] |
getValueConstraints() |
javax.jcr.Value[] |
getValueConstraintsAsUnexpandedValue() |
javax.jcr.Value[] |
getValueConstraintsAsValue() |
boolean |
hasDynamicDefaultValues() |
int |
hashCode() |
boolean |
isFacetable() |
boolean |
isFullTextSearchable() |
boolean |
isHierarchical() |
boolean |
isInternationalized() |
boolean |
isMultiple() |
boolean |
isQueryOrderable() |
void |
remove()
Remove definition from declaring node type
|
void |
setAnalyzer(String analyzer) |
void |
setAvailableQueryOperators(String[] availableQueryOperators) |
void |
setDeclaringNodeType(ExtendedNodeType declaringNodeType) |
void |
setDefaultValues(javax.jcr.Value[] defaultValues) |
void |
setFacetable(boolean facetable) |
void |
setFullTextSearchable(boolean fulltextSearchable) |
void |
setHierarchical(boolean hierarchical) |
void |
setIndex(int index) |
void |
setInternationalized(boolean internationalized) |
void |
setMultiple(boolean multiple) |
void |
setQueryOrderable(boolean sortable) |
void |
setRequiredType(int requiredType) |
void |
setScoreboost(double scoreboost) |
void |
setValueConstraints(javax.jcr.Value[] valueConstraints) |
String |
toString() |
clearLabels, getDeclaringNodeType, getItemType, getLabel, getLabel, getLocalItemType, getLocalName, getName, getNameObject, getOnConflict, getOnParentVersion, getOverridenDefinition, getPrefix, getResourceBundleKey, getResourceBundleKey, getSelector, getSelectorOptions, getTooltip, isAutoCreated, isContentItem, isHidden, isMandatory, isNode, isOverride, isProtected, isUnstructured, setAutoCreated, setHidden, setItemType, setMandatory, setName, setOnConflict, setOnParentVersion, setOverride, setProtected, setSelector, setSelectorOptionspublic static final int INDEXED_NO
public static final int INDEXED_TOKENIZED
public static final int INDEXED_UNTOKENIZED
public static final int STORE_YES
public static final int STORE_NO
public static final int STORE_COMPRESS
public ExtendedPropertyDefinition(NodeTypeRegistry registry)
public void setDeclaringNodeType(ExtendedNodeType declaringNodeType)
setDeclaringNodeType in class ExtendedItemDefinitionpublic int getRequiredType()
getRequiredType in interface javax.jcr.nodetype.PropertyDefinitionpublic void setRequiredType(int requiredType)
public javax.jcr.Value[] getValueConstraintsAsUnexpandedValue()
public javax.jcr.Value[] getValueConstraintsAsValue()
public org.apache.jackrabbit.spi.commons.nodetype.constraint.ValueConstraint[] getValueConstraintObjects()
public String[] getValueConstraints()
getValueConstraints in interface javax.jcr.nodetype.PropertyDefinitionpublic void setValueConstraints(javax.jcr.Value[] valueConstraints)
public javax.jcr.Value[] getDefaultValues()
getDefaultValues in interface javax.jcr.nodetype.PropertyDefinitionpublic javax.jcr.Value[] getDefaultValues(Locale locale)
locale - locale used to expand I15dValueInitializerpublic javax.jcr.Value[] getDefaultValuesAsUnexpandedValue()
public boolean hasDynamicDefaultValues()
public void setDefaultValues(javax.jcr.Value[] defaultValues)
public boolean isMultiple()
isMultiple in interface javax.jcr.nodetype.PropertyDefinitionpublic void setMultiple(boolean multiple)
public boolean isInternationalized()
public void setInternationalized(boolean internationalized)
public int getIndex()
public void setIndex(int index)
public double getScoreboost()
public void setScoreboost(double scoreboost)
public String getAnalyzer()
public void setAnalyzer(String analyzer)
public boolean isQueryOrderable()
isQueryOrderable in interface javax.jcr.nodetype.PropertyDefinitionpublic void setQueryOrderable(boolean sortable)
public boolean isFacetable()
public void setFacetable(boolean facetable)
public boolean isHierarchical()
public void setHierarchical(boolean hierarchical)
public boolean isFullTextSearchable()
isFullTextSearchable in interface javax.jcr.nodetype.PropertyDefinitionpublic void setFullTextSearchable(boolean fulltextSearchable)
public String[] getAvailableQueryOperators()
getAvailableQueryOperators in interface javax.jcr.nodetype.PropertyDefinitionpublic void setAvailableQueryOperators(String[] availableQueryOperators)
public boolean equals(Object o)
equals in class ExtendedItemDefinitionpublic int hashCode()
hashCode in class ExtendedItemDefinitionpublic void remove()
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.