T
- public abstract static class DefinitionBuilderFactory.AbstractNodeDefinitionBuilder<T> extends DefinitionBuilderFactory.AbstractItemDefinitionBuilder<T>
T
Constructor and Description |
---|
AbstractNodeDefinitionBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addRequiredPrimaryType(java.lang.String name) |
void |
setAllowsSameNameSiblings(boolean allowSns) |
abstract void |
setDefaultPrimaryType(java.lang.String name) |
build, getName, setAutoCreated, setDeclaringNodeType, setMandatory, setName, setOnParentVersion, setProtected
public abstract void setDefaultPrimaryType(java.lang.String name) throws RepositoryException
name
- the name of the default primary type of the node definition being built.RepositoryException
public abstract void addRequiredPrimaryType(java.lang.String name) throws RepositoryException
name
- add a required primary type to the list of names of the required primary types of
the node definition being built.RepositoryException
public void setAllowsSameNameSiblings(boolean allowSns) throws RepositoryException
allowSns
- true if building a node definition with same name siblings, false otherwise.RepositoryException
Copyright © 2010 - 2020 Adobe. All Rights Reserved