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, setProtectedpublic void setRequiredType(int type)
throws RepositoryException
type - the required type of the property definition being built.RepositoryExceptionPropertyDefinition.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.RepositoryExceptionPropertyDefinition.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.RepositoryExceptionPropertyDefinition.getDefaultValues()public void setMultiple(boolean isMultiple)
throws RepositoryException
isMultiple - true if building a 'multiple' property definition.RepositoryExceptionPropertyDefinition.isMultiple()public void setFullTextSearchable(boolean fullTextSearchable)
throws RepositoryException
fullTextSearchable - true if building a
'fulltext searchable' property definitionRepositoryExceptionPropertyDefinition.isFullTextSearchable()public void setQueryOrderable(boolean queryOrderable)
throws RepositoryException
queryOrderable - true if the property is orderable in a queryRepositoryExceptionPropertyDefinition.isQueryOrderable()public void setAvailableQueryOperators(java.lang.String[] queryOperators)
throws RepositoryException
queryOperators - the query operators of the propertyRepositoryExceptionPropertyDefinition.getAvailableQueryOperators()Copyright © 2010 - 2023 Adobe. All Rights Reserved