Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.enableit.db.darrt.schema
Class Database  view Database download Database.java

java.lang.Object
  extended byorg.enableit.db.darrt.schema.Database
All Implemented Interfaces:
java.io.Serializable

public class Database
extends java.lang.Object
implements java.io.Serializable

Version:
$Revision: 1.3 $ $Date: 2003/01/06 10:34:56 $

Field Summary
private  Metadata _metadata
           
private  Provider _provider
           
private  Schema _schema
           
 
Constructor Summary
Database()
           
 
Method Summary
 Metadata getMetadata()
          Returns the value of field 'metadata'.
 Provider getProvider()
          Returns the value of field 'provider'.
 Schema getSchema()
          Returns the value of field 'schema'.
 boolean isValid()
           
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setMetadata(Metadata metadata)
          Sets the value of field 'metadata'.
 void setProvider(Provider provider)
          Sets the value of field 'provider'.
 void setSchema(Schema schema)
          Sets the value of field 'schema'.
static Database unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_provider

private Provider _provider

_metadata

private Metadata _metadata

_schema

private Schema _schema
Constructor Detail

Database

public Database()
Method Detail

getMetadata

public Metadata getMetadata()
Returns the value of field 'metadata'.


getProvider

public Provider getProvider()
Returns the value of field 'provider'.


getSchema

public Schema getSchema()
Returns the value of field 'schema'.


isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException

setMetadata

public void setMetadata(Metadata metadata)
Sets the value of field 'metadata'.


setProvider

public void setProvider(Provider provider)
Sets the value of field 'provider'.


setSchema

public void setSchema(Schema schema)
Sets the value of field 'schema'.


unmarshal

public static Database unmarshal(java.io.Reader reader)
                          throws org.exolab.castor.xml.MarshalException,
                                 org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException