|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.commons.cnd.DefinitionBuilderFactory.AbstractItemDefinitionBuilder<T>
org.apache.jackrabbit.commons.cnd.DefinitionBuilderFactory.AbstractPropertyDefinitionBuilder<T>
T - public abstract static class DefinitionBuilderFactory.AbstractPropertyDefinitionBuilder<T>
Builder for property definitions of type T
| Field Summary | |
|---|---|
protected boolean |
fullTextSearchable
See setFullTextSearchable(boolean) |
protected boolean |
isMultiple
See setMultiple(boolean) |
protected java.lang.String[] |
queryOperators
See setAvailableQueryOperators(String[]) |
protected boolean |
queryOrderable
See setQueryOrderable(boolean) |
protected int |
requiredType
See setRequiredType(int) |
| Fields inherited from class org.apache.jackrabbit.commons.cnd.DefinitionBuilderFactory.AbstractItemDefinitionBuilder |
|---|
autocreate, isMandatory, isProtected, name, onParent |
| Constructor Summary | |
|---|---|
DefinitionBuilderFactory.AbstractPropertyDefinitionBuilder()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.apache.jackrabbit.commons.cnd.DefinitionBuilderFactory.AbstractItemDefinitionBuilder |
|---|
build, getName, setAutoCreated, setDeclaringNodeType, setMandatory, setName, setOnParentVersion, setProtected |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int requiredType
setRequiredType(int)
protected boolean isMultiple
setMultiple(boolean)
protected boolean fullTextSearchable
setFullTextSearchable(boolean)
protected boolean queryOrderable
setQueryOrderable(boolean)
protected java.lang.String[] queryOperators
setAvailableQueryOperators(String[])
| Constructor Detail |
|---|
public DefinitionBuilderFactory.AbstractPropertyDefinitionBuilder()
| Method Detail |
|---|
public 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 definition
RepositoryExceptionPropertyDefinition.isFullTextSearchable()
public void setQueryOrderable(boolean queryOrderable)
throws RepositoryException
queryOrderable - true if the property is orderable in a query
RepositoryExceptionPropertyDefinition.isQueryOrderable()
public void setAvailableQueryOperators(java.lang.String[] queryOperators)
throws RepositoryException
queryOperators - the query operators of the property
RepositoryExceptionPropertyDefinition.getAvailableQueryOperators()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||