T - public abstract static class DefinitionBuilderFactory.AbstractItemDefinitionBuilder<T>
extends java.lang.Object
T| Constructor and Description |
|---|
AbstractItemDefinitionBuilder() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
build()
Build this item definition an add it to its parent node type definition
|
java.lang.String |
getName()
Name of the child item definition being built
|
void |
setAutoCreated(boolean autocreate) |
abstract void |
setDeclaringNodeType(java.lang.String name) |
void |
setMandatory(boolean isMandatory) |
void |
setName(java.lang.String name) |
void |
setOnParentVersion(int onParent) |
void |
setProtected(boolean isProtected) |
public void setName(java.lang.String name)
throws RepositoryException
name - the name of the child item definition being buildRepositoryExceptionItemDefinition.getName()public java.lang.String getName()
public abstract void setDeclaringNodeType(java.lang.String name)
throws RepositoryException
name - the name of the declaring node type.RepositoryExceptionItemDefinition.getDeclaringNodeType()public void setAutoCreated(boolean autocreate)
throws RepositoryException
autocreate - true if building a 'autocreate' child item
definition, false otherwise.RepositoryExceptionItemDefinition.isAutoCreated()public void setOnParentVersion(int onParent)
throws RepositoryException
onParent - the 'onParentVersion' attribute of the child item definition being builtRepositoryExceptionItemDefinition.getOnParentVersion()public void setProtected(boolean isProtected)
throws RepositoryException
isProtected - true if building a 'protected' child
item definition, false otherwise.RepositoryExceptionItemDefinition.isProtected()public void setMandatory(boolean isMandatory)
throws RepositoryException
isMandatory - true if building a 'mandatory' child
item definition, false otherwise.RepositoryExceptionpublic abstract void build()
throws RepositoryException
RepositoryExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved