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 |
---|
DefinitionBuilderFactory.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 DefinitionBuilderFactory.AbstractNodeDefinitionBuilder()
public abstract void setDefaultPrimaryType(String name) throws javax.jcr.RepositoryException
name
- the name of the default primary type of the node definition being built.javax.jcr.RepositoryException
public abstract void addRequiredPrimaryType(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.RepositoryException
public void setAllowsSameNameSiblings(boolean allowSns) throws javax.jcr.RepositoryException
allowSns
- true if building a node definition with same name siblings, false otherwise.javax.jcr.RepositoryException
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.