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 javax.jcr.RepositoryException
name - the name of the default primary type of the node definition being built.javax.jcr.RepositoryExceptionpublic abstract void addRequiredPrimaryType(java.lang.String name)
throws javax.jcr.RepositoryException
name - add a required primary type to the list of names of the required primary types of
the node definition being built.javax.jcr.RepositoryExceptionpublic void setAllowsSameNameSiblings(boolean allowSns)
throws javax.jcr.RepositoryException
allowSns - true if building a node definition with same name siblings, false otherwise.javax.jcr.RepositoryExceptionCopyright © 2010 - 2025 Adobe. All Rights Reserved