|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.spi.commons.nodetype.compact.QNodeTypeDefinitionsBuilder.QNodeTypeDefinitionBuilder
public abstract class QNodeTypeDefinitionsBuilder.QNodeTypeDefinitionBuilder
A builder for a QNodeTypeDefinition
| Constructor Summary | |
|---|---|
QNodeTypeDefinitionsBuilder.QNodeTypeDefinitionBuilder()
|
|
| Method Summary | |
|---|---|
abstract QNodeTypeDefinition |
build()
Creates a new QNodeTypeDefinition instance based on the state of this builder. |
QNodeDefinition[] |
getChildNodeDefs()
|
boolean |
getMixin()
|
Name |
getName()
|
boolean |
getOrderableChildNodes()
|
Name |
getPrimaryItemName()
|
QPropertyDefinition[] |
getPropertyDefs()
|
Name[] |
getSuperTypes()
Returns an array containing the names of the supertypes of the node type definition being built. |
abstract QNodeTypeDefinitionsBuilder.QNodeDefinitionBuilder |
newQNodeDefinitionBuilder()
|
abstract QNodeTypeDefinitionsBuilder.QPropertyDefinitionBuilder |
newQPropertyDefinition()
|
void |
setChildNodeDefs(QNodeDefinition[] childDefs)
|
void |
setMixin(boolean isMixin)
|
void |
setName(Name name)
Set the name of the node type definition being built |
void |
setOrderableChildNodes(boolean isOrderable)
|
void |
setPrimaryItemName(Name primaryItemName)
|
void |
setPropertyDefs(QPropertyDefinition[] propDefs)
|
void |
setSupertypes(Name[] supertypes)
Specifies the supertypes of the node type definition being built |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QNodeTypeDefinitionsBuilder.QNodeTypeDefinitionBuilder()
| Method Detail |
|---|
public void setName(Name name)
name - public Name getName()
null if not set.public void setSupertypes(Name[] supertypes)
supertypes - public Name[] getSuperTypes()
public void setMixin(boolean isMixin)
isMixin - true if building a mixin node type definition; false otherwise.public boolean getMixin()
public void setOrderableChildNodes(boolean isOrderable)
isOrderable - true if building a node type having orderable child nodes; false
otherwise.public boolean getOrderableChildNodes()
public void setPrimaryItemName(Name primaryItemName)
primaryItemName - the name of the primary item or null if not set.public Name getPrimaryItemName()
null if not set.public void setPropertyDefs(QPropertyDefinition[] propDefs)
propDefs - an array containing the property definitions of the node type definition
being built.public QPropertyDefinition[] getPropertyDefs()
null if not set.public void setChildNodeDefs(QNodeDefinition[] childDefs)
childDefs - an array containing the child node definitions of the node type
definition being.public QNodeDefinition[] getChildNodeDefs()
null if not set.public abstract QNodeTypeDefinitionsBuilder.QPropertyDefinitionBuilder newQPropertyDefinition()
QNodeDefinition.public abstract QNodeTypeDefinitionsBuilder.QNodeDefinitionBuilder newQNodeDefinitionBuilder()
QNodeDefinition.
public abstract QNodeTypeDefinition build()
throws IllegalStateException
QNodeTypeDefinition instance based on the state of this builder.
QNodeTypeDefinition instance.
IllegalStateException - if the instance has not the necessary information to build
the QNodeTypeDefinition instance.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||