T
- public abstract static class DefinitionBuilderFactory.AbstractNodeDefinitionBuilder<T> extends DefinitionBuilderFactory.AbstractItemDefinitionBuilder<T>
T
Modifier and Type | Field and Description |
---|---|
protected boolean |
allowSns |
autocreate, isMandatory, isProtected, name, onParent
Constructor and Description |
---|
AbstractNodeDefinitionBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addRequiredPrimaryType(String name) |
void |
setAllowsSameNameSiblings(boolean allowSns) |
abstract void |
setDefaultPrimaryType(String name) |
build, getName, setAutoCreated, setDeclaringNodeType, setMandatory, setName, setOnParentVersion, setProtected
public abstract void setDefaultPrimaryType(String name) throws RepositoryException
name
- the name of the default primary type of the node definition being built.RepositoryException
public abstract void addRequiredPrimaryType(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 © 2004–2021 The Apache Software Foundation. All rights reserved.