org.apache.hivemind.schema.impl
Class SchemaImpl

java.lang.Object
  |
  +--org.apache.hivemind.impl.BaseLocatable
        |
        +--org.apache.hivemind.schema.impl.SchemaImpl
All Implemented Interfaces:
Locatable, LocationHolder, Schema
Direct Known Subclasses:
ElementModelImpl

public class SchemaImpl
extends BaseLocatable
implements Schema

Implementation of Schema.

Author:
Howard Lewis Ship

Constructor Summary
SchemaImpl()
           
 
Method Summary
 void addElementModel(ElementModel model)
           
 java.util.List getElementModel()
          Returns a List of ElementModel, identifing the elements which may be enclosed by the modeled element.
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Constructor Detail

SchemaImpl

public SchemaImpl()
Method Detail

addElementModel

public void addElementModel(ElementModel model)

getElementModel

public java.util.List getElementModel()
Description copied from interface: Schema
Returns a List of ElementModel, identifing the elements which may be enclosed by the modeled element.

The returned list is unmodifiabled and may be empty, but won't be null.

Specified by:
getElementModel in interface Schema