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

Quick Search    Search Deep

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

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

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

Version:
$Revision: 1.1 $ $Date: 2002/09/14 04:20:57 $

Field Summary
private  java.util.Vector _jdbcMappingList
           
private  java.lang.String _maxTableNameLength
           
private  java.lang.String _name
           
private  java.lang.String _notNull
           
private  java.lang.String _null
           
private  java.lang.String _primaryKey
           
 
Constructor Summary
DarrtDbms()
           
 
Method Summary
 void addJdbcMapping(int index, JdbcMapping vJdbcMapping)
           
 void addJdbcMapping(JdbcMapping vJdbcMapping)
           
 java.util.Enumeration enumerateJdbcMapping()
           
 JdbcMapping[] getJdbcMapping()
           
 JdbcMapping getJdbcMapping(int index)
           
 int getJdbcMappingCount()
           
 java.lang.String getMaxTableNameLength()
          Returns the value of field 'maxTableNameLength'.
 java.lang.String getName()
          Returns the value of field 'name'.
 java.lang.String getNotNull()
          Returns the value of field 'notNull'.
 java.lang.String getNull()
          Returns the value of field 'null'.
 java.lang.String getPrimaryKey()
          Returns the value of field 'primaryKey'.
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void removeAllJdbcMapping()
           
 JdbcMapping removeJdbcMapping(int index)
           
 void setJdbcMapping(int index, JdbcMapping vJdbcMapping)
           
 void setJdbcMapping(JdbcMapping[] jdbcMappingArray)
           
 void setMaxTableNameLength(java.lang.String maxTableNameLength)
          Sets the value of field 'maxTableNameLength'.
 void setName(java.lang.String name)
          Sets the value of field 'name'.
 void setNotNull(java.lang.String notNull)
          Sets the value of field 'notNull'.
 void setNull(java.lang.String _null)
          Sets the value of field 'null'.
 void setPrimaryKey(java.lang.String primaryKey)
          Sets the value of field 'primaryKey'.
static DarrtDbms 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

_maxTableNameLength

private java.lang.String _maxTableNameLength

_name

private java.lang.String _name

_notNull

private java.lang.String _notNull

_null

private java.lang.String _null

_primaryKey

private java.lang.String _primaryKey

_jdbcMappingList

private java.util.Vector _jdbcMappingList
Constructor Detail

DarrtDbms

public DarrtDbms()
Method Detail

addJdbcMapping

public void addJdbcMapping(JdbcMapping vJdbcMapping)
                    throws java.lang.IndexOutOfBoundsException

addJdbcMapping

public void addJdbcMapping(int index,
                           JdbcMapping vJdbcMapping)
                    throws java.lang.IndexOutOfBoundsException

enumerateJdbcMapping

public java.util.Enumeration enumerateJdbcMapping()

getJdbcMapping

public JdbcMapping getJdbcMapping(int index)
                           throws java.lang.IndexOutOfBoundsException

getJdbcMapping

public JdbcMapping[] getJdbcMapping()

getJdbcMappingCount

public int getJdbcMappingCount()

getMaxTableNameLength

public java.lang.String getMaxTableNameLength()
Returns the value of field 'maxTableNameLength'.


getName

public java.lang.String getName()
Returns the value of field 'name'.


getNotNull

public java.lang.String getNotNull()
Returns the value of field 'notNull'.


getNull

public java.lang.String getNull()
Returns the value of field 'null'.


getPrimaryKey

public java.lang.String getPrimaryKey()
Returns the value of field 'primaryKey'.


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

removeAllJdbcMapping

public void removeAllJdbcMapping()

removeJdbcMapping

public JdbcMapping removeJdbcMapping(int index)

setJdbcMapping

public void setJdbcMapping(int index,
                           JdbcMapping vJdbcMapping)
                    throws java.lang.IndexOutOfBoundsException

setJdbcMapping

public void setJdbcMapping(JdbcMapping[] jdbcMappingArray)

setMaxTableNameLength

public void setMaxTableNameLength(java.lang.String maxTableNameLength)
Sets the value of field 'maxTableNameLength'.


setName

public void setName(java.lang.String name)
Sets the value of field 'name'.


setNotNull

public void setNotNull(java.lang.String notNull)
Sets the value of field 'notNull'.


setNull

public void setNull(java.lang.String _null)
Sets the value of field 'null'.


setPrimaryKey

public void setPrimaryKey(java.lang.String primaryKey)
Sets the value of field 'primaryKey'.


unmarshal

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