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

Quick Search    Search Deep

org.enableit.db.daf.conf
Class DataAbstraction  view DataAbstraction download DataAbstraction.java

java.lang.Object
  extended byorg.enableit.db.daf.conf.DataAbstraction
All Implemented Interfaces:
java.io.Serializable

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

Version:
$Revision: 1.1 $ $Date: 2002/05/03 13:44:50 $

Field Summary
private  java.util.Vector _persistenceProviderList
           
private  java.util.Vector _persistentClassList
           
 
Constructor Summary
DataAbstraction()
           
 
Method Summary
 void addPersistenceProvider(int index, PersistenceProvider vPersistenceProvider)
           
 void addPersistenceProvider(PersistenceProvider vPersistenceProvider)
           
 void addPersistentClass(int index, PersistentClass vPersistentClass)
           
 void addPersistentClass(PersistentClass vPersistentClass)
           
 java.util.Enumeration enumeratePersistenceProvider()
           
 java.util.Enumeration enumeratePersistentClass()
           
 PersistenceProvider[] getPersistenceProvider()
           
 PersistenceProvider getPersistenceProvider(int index)
           
 int getPersistenceProviderCount()
           
 PersistentClass[] getPersistentClass()
           
 PersistentClass getPersistentClass(int index)
           
 int getPersistentClassCount()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void removeAllPersistenceProvider()
           
 void removeAllPersistentClass()
           
 PersistenceProvider removePersistenceProvider(int index)
           
 PersistentClass removePersistentClass(int index)
           
 void setPersistenceProvider(int index, PersistenceProvider vPersistenceProvider)
           
 void setPersistenceProvider(PersistenceProvider[] persistenceProviderArray)
           
 void setPersistentClass(int index, PersistentClass vPersistentClass)
           
 void setPersistentClass(PersistentClass[] persistentClassArray)
           
static DataAbstraction 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

_persistenceProviderList

private java.util.Vector _persistenceProviderList

_persistentClassList

private java.util.Vector _persistentClassList
Constructor Detail

DataAbstraction

public DataAbstraction()
Method Detail

addPersistenceProvider

public void addPersistenceProvider(PersistenceProvider vPersistenceProvider)
                            throws java.lang.IndexOutOfBoundsException

addPersistenceProvider

public void addPersistenceProvider(int index,
                                   PersistenceProvider vPersistenceProvider)
                            throws java.lang.IndexOutOfBoundsException

addPersistentClass

public void addPersistentClass(PersistentClass vPersistentClass)
                        throws java.lang.IndexOutOfBoundsException

addPersistentClass

public void addPersistentClass(int index,
                               PersistentClass vPersistentClass)
                        throws java.lang.IndexOutOfBoundsException

enumeratePersistenceProvider

public java.util.Enumeration enumeratePersistenceProvider()

enumeratePersistentClass

public java.util.Enumeration enumeratePersistentClass()

getPersistenceProvider

public PersistenceProvider getPersistenceProvider(int index)
                                           throws java.lang.IndexOutOfBoundsException

getPersistenceProvider

public PersistenceProvider[] getPersistenceProvider()

getPersistenceProviderCount

public int getPersistenceProviderCount()

getPersistentClass

public PersistentClass getPersistentClass(int index)
                                   throws java.lang.IndexOutOfBoundsException

getPersistentClass

public PersistentClass[] getPersistentClass()

getPersistentClassCount

public int getPersistentClassCount()

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.DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException

removeAllPersistenceProvider

public void removeAllPersistenceProvider()

removeAllPersistentClass

public void removeAllPersistentClass()

removePersistenceProvider

public PersistenceProvider removePersistenceProvider(int index)

removePersistentClass

public PersistentClass removePersistentClass(int index)

setPersistenceProvider

public void setPersistenceProvider(int index,
                                   PersistenceProvider vPersistenceProvider)
                            throws java.lang.IndexOutOfBoundsException

setPersistenceProvider

public void setPersistenceProvider(PersistenceProvider[] persistenceProviderArray)

setPersistentClass

public void setPersistentClass(int index,
                               PersistentClass vPersistentClass)
                        throws java.lang.IndexOutOfBoundsException

setPersistentClass

public void setPersistentClass(PersistentClass[] persistentClassArray)

unmarshal

public static DataAbstraction 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