T - public abstract static class DefinitionBuilderFactory.AbstractNodeTypeDefinitionBuilder<T>
extends java.lang.Object
| Constructor and Description |
|---|
AbstractNodeTypeDefinitionBuilder() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
addSupertype(java.lang.String name)
Add the given name to the set of supertypes of the node type definition
being built
|
abstract T |
build()
Build this node type definition
|
java.lang.String |
getName()
Returns the name of the node type definition being built
|
abstract DefinitionBuilderFactory.AbstractNodeDefinitionBuilder<T> |
newNodeDefinitionBuilder()
Create a new instance fo a
DefinitionBuilderFactory.AbstractNodeDefinitionBuilder
which can be used to add child node definitions to the node type definition being built. |
abstract DefinitionBuilderFactory.AbstractPropertyDefinitionBuilder<T> |
newPropertyDefinitionBuilder()
Create a new instance of a
DefinitionBuilderFactory.AbstractPropertyDefinitionBuilder
which can be used to add property definitions to the node type definition being built. |
void |
setAbstract(boolean isAbstract) |
void |
setMixin(boolean isMixin) |
void |
setName(java.lang.String name)
Set the name of the node type definition being built
|
void |
setOrderableChildNodes(boolean isOrderable) |
abstract void |
setPrimaryItemName(java.lang.String name) |
void |
setQueryable(boolean queryable) |
public void setName(java.lang.String name)
throws RepositoryException
name - RepositoryException - if the name is not validNodeTypeDefinition#getName()public java.lang.String getName()
public abstract void addSupertype(java.lang.String name)
throws RepositoryException
name - name of the the supertypeRepositoryException - if the name is not validNodeTypeDefinition#getDeclaredSupertypeNames()public void setMixin(boolean isMixin)
throws RepositoryException
isMixin - true if building a mixin node type
definition; false otherwise.RepositoryExceptionNodeTypeDefinition#isMixin()public void setOrderableChildNodes(boolean isOrderable)
throws RepositoryException
isOrderable - true if building a node type having
orderable child nodes; false otherwise.RepositoryExceptionNodeTypeDefinition#hasOrderableChildNodes()public abstract void setPrimaryItemName(java.lang.String name)
throws RepositoryException
name - the name of the primary item.RepositoryExceptionNodeTypeDefinition#getPrimaryItemName()public void setAbstract(boolean isAbstract)
throws RepositoryException
isAbstract - true if building a node type that is abstract.RepositoryExceptionNodeTypeDefinition#isAbstract()public void setQueryable(boolean queryable)
throws RepositoryException
queryable - true if building a node type that is queryableRepositoryExceptionNodeTypeDefinition#isQueryable()public abstract DefinitionBuilderFactory.AbstractPropertyDefinitionBuilder<T> newPropertyDefinitionBuilder() throws RepositoryException
DefinitionBuilderFactory.AbstractPropertyDefinitionBuilder
which can be used to add property definitions to the node type definition being built.RepositoryExceptionpublic abstract DefinitionBuilderFactory.AbstractNodeDefinitionBuilder<T> newNodeDefinitionBuilder() throws RepositoryException
DefinitionBuilderFactory.AbstractNodeDefinitionBuilder
which can be used to add child node definitions to the node type definition being built.RepositoryExceptionpublic abstract T build() throws RepositoryException
RepositoryException"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"