T
- public abstract static class DefinitionBuilderFactory.AbstractPropertyDefinitionBuilder<T> extends DefinitionBuilderFactory.AbstractItemDefinitionBuilder<T>
T
Constructor and Description |
---|
AbstractPropertyDefinitionBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addDefaultValues(java.lang.String value) |
abstract void |
addValueConstraint(java.lang.String constraint) |
int |
getRequiredType()
The required type of the property definition being built.
|
void |
setAvailableQueryOperators(java.lang.String[] queryOperators) |
void |
setFullTextSearchable(boolean fullTextSearchable) |
void |
setMultiple(boolean isMultiple) |
void |
setQueryOrderable(boolean queryOrderable) |
void |
setRequiredType(int type) |
build, getName, setAutoCreated, setDeclaringNodeType, setMandatory, setName, setOnParentVersion, setProtected
public void setRequiredType(int type) throws RepositoryException
type
- the required type of the property definition being built.RepositoryException
PropertyDefinition#getRequiredType()
public int getRequiredType()
public abstract void addValueConstraint(java.lang.String constraint) throws RepositoryException
constraint
- add a value constraint to the list of value constraints of the property
definition being built.RepositoryException
PropertyDefinition#getValueConstraints()
public abstract void addDefaultValues(java.lang.String value) throws RepositoryException
value
- add a default value to the list of default values of the property definition
being built.RepositoryException
PropertyDefinition#getDefaultValues()
public void setMultiple(boolean isMultiple) throws RepositoryException
isMultiple
- true if building a 'multiple' property definition.RepositoryException
PropertyDefinition#isMultiple()
public void setFullTextSearchable(boolean fullTextSearchable) throws RepositoryException
fullTextSearchable
- true
if building a
'fulltext searchable' property definitionRepositoryException
PropertyDefinition#isFullTextSearchable()
public void setQueryOrderable(boolean queryOrderable) throws RepositoryException
queryOrderable
- true
if the property is orderable in a queryRepositoryException
PropertyDefinition#isQueryOrderable()
public void setAvailableQueryOperators(java.lang.String[] queryOperators) throws RepositoryException
queryOperators
- the query operators of the propertyRepositoryException
PropertyDefinition#getAvailableQueryOperators()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"