com.partnersoft.cog
Class CogBootstrapSchema

java.lang.Object
  extended by com.partnersoft.cog.CogSchema
      extended by com.partnersoft.cog.CogBootstrapSchema
All Implemented Interfaces:
Singleton

public class CogBootstrapSchema
extends CogSchema
implements Singleton

A standard base schema for Cog structures.

This schema provides basic Java primitives (String, Integer, etc.), standard Partner types (Date, Time, Color), and the actual schema types (e.g. CogStructureField). Like most bootstrap data or code, this schema provides enough marbles to load basic typed Cogs and to load CogSchema data from XML.

It is implemented as a Singleton since you only need one. Use the static singleton() method to access it.

This schema is a good parent schema for other schemas to inherit from.

Copyright 2009 Partner Software, Inc.

Version:
$Id$
Author:
Paul Reavis

Method Summary
static CogBootstrapSchema singleton()
          Return the standard singleton instance of CogBootstrapSchema.
 
Methods inherited from class com.partnersoft.cog.CogSchema
addInheritedSchema, addStubStructure, addType, createNode, getInheritedSchemas, getTypes, listInheritedSchemas, setTypes, typeNamed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

singleton

public static CogBootstrapSchema singleton()
Return the standard singleton instance of CogBootstrapSchema.

Returns: