org.umber.bellows.schema
Class SchemaCardinality

java.lang.Object
  extended byorg.umber.bellows.schema.SchemaCardinality

public class SchemaCardinality
extends java.lang.Object

Definition of the cardinality of child elements within a schema node.

Author:
jsheets

Constructor Summary
SchemaCardinality(ISchemaNode node)
           
SchemaCardinality(ISchemaNode node, boolean required, boolean repeating, boolean ordered)
           
 
Method Summary
 SchemaCardinality[] getChildren()
           
 ISchemaNode getNode()
           
 boolean hasChildren()
           
 boolean isOrdered()
           
 boolean isRepeating()
           
 boolean isRequired()
           
 void setChildren(SchemaCardinality[] children)
           
 void setNode(ISchemaNode node)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SchemaCardinality

public SchemaCardinality(ISchemaNode node)

SchemaCardinality

public SchemaCardinality(ISchemaNode node,
                         boolean required,
                         boolean repeating,
                         boolean ordered)
Method Detail

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()