org.umber.bellows.schema
Class SchemaCardinality
java.lang.Object
org.umber.bellows.schema.SchemaCardinality
- public class SchemaCardinality
- extends java.lang.Object
Definition of the cardinality of child elements within a schema node.
- Author:
- jsheets
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SchemaCardinality
public SchemaCardinality(ISchemaNode node)
SchemaCardinality
public SchemaCardinality(ISchemaNode node,
boolean required,
boolean repeating,
boolean ordered)
getNode
public ISchemaNode getNode()
setNode
public void setNode(ISchemaNode node)
isRequired
public boolean isRequired()
isRepeating
public boolean isRepeating()
isOrdered
public boolean isOrdered()
hasChildren
public boolean hasChildren()
getChildren
public SchemaCardinality[] getChildren()
setChildren
public void setChildren(SchemaCardinality[] children)
toString
public java.lang.String toString()