* @throws IllegalStateException if the instance has not the necessary
* information to build the QNodeDefinition
* instance.
*/
public QNodeDefinition build() throws IllegalStateException {
return new QNodeDefinitionImpl(getName(), getDeclaringNodeType(),
getAutoCreated(), getMandatory(), getOnParentVersion(),
getProtected(), getDefaultPrimaryType(),
getRequiredPrimaryTypes(), getAllowsSameNameSiblings());
}