public abstract class QItemDefinitionBuilder extends Object
QItemDefinition.| Constructor and Description |
|---|
QItemDefinitionBuilder() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAutoCreated() |
Name |
getDeclaringNodeType() |
boolean |
getMandatory() |
Name |
getName() |
int |
getOnParentVersion() |
boolean |
getProtected() |
void |
setAutoCreated(boolean autocreate) |
void |
setDeclaringNodeType(Name type) |
void |
setMandatory(boolean isMandatory) |
void |
setName(Name name) |
void |
setOnParentVersion(int onParent) |
void |
setProtected(boolean isProtected) |
public void setName(Name name)
name - the name of the child item definition being buildItemDefinition.getName()public Name getName()
ItemDefinition.getName()public void setDeclaringNodeType(Name type)
type - the name of the declaring node type.ItemDefinition.getDeclaringNodeType()public Name getDeclaringNodeType()
ItemDefinition.getDeclaringNodeType()public void setAutoCreated(boolean autocreate)
autocreate - true if building a 'autocreate' child item
definition, false otherwise.ItemDefinition.isAutoCreated()public boolean getAutoCreated()
true if building a 'autocreate' child item
definition, false otherwise.ItemDefinition.isAutoCreated()public void setOnParentVersion(int onParent)
onParent - the 'onParentVersion' attribute of the child item definition being builtItemDefinition.getOnParentVersion()public int getOnParentVersion()
ItemDefinition.getOnParentVersion()public void setProtected(boolean isProtected)
isProtected - true if building a 'protected' child
item definition, false otherwise.ItemDefinition.isProtected()public boolean getProtected()
true if building a 'protected' child item
definition, false otherwise.ItemDefinition.isProtected()public void setMandatory(boolean isMandatory)
isMandatory - true if building a 'mandatory' child
item definition, false otherwise.ItemDefinition.isMandatory()public boolean getMandatory()
true if building a 'mandatory' child item
definition, false otherwise.ItemDefinition.isMandatory()Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.