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, setProtectedpublic abstract void setDefaultPrimaryType(java.lang.String name)
throws RepositoryException
name - the name of the default primary type of the node definition being built.RepositoryExceptionpublic 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.RepositoryExceptionpublic void setAllowsSameNameSiblings(boolean allowSns)
throws RepositoryException
allowSns - true if building a node definition with same name siblings, false otherwise.RepositoryExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved