uk.nominet.catnap.framework
Class Schema

java.lang.Object
  extended byuk.nominet.catnap.framework.Schema

public class Schema
extends java.lang.Object

A container for a set of entities.


Constructor Summary
Schema()
           
 
Method Summary
 void addEntity(EntityDef newEntityDef)
          Add an entity to the set of entities.
 EntityDef getEntityDef(java.lang.String name)
          Get an entity by name.
 void mergeAuxillarySchema(Schema auxillarySchema)
          Merge the contents of the passed schema with myself.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Schema

public Schema()
Method Detail

getEntityDef

public EntityDef getEntityDef(java.lang.String name)
Get an entity by name.

Parameters:
name -
Returns:

addEntity

public void addEntity(EntityDef newEntityDef)
Add an entity to the set of entities.

Parameters:
newEntityDef -

mergeAuxillarySchema

public void mergeAuxillarySchema(Schema auxillarySchema)
Merge the contents of the passed schema with myself.

Parameters:
auxillarySchema -