org.enableit.db.beans
Class DarrtDbms

java.lang.Object
  |
  +--org.enableit.db.beans.DarrtDbms
All Implemented Interfaces:
java.io.Serializable

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

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
DarrtDbms()
           
 
Method Summary
 void addFunction(org.enableit.db.beans.Function vFunction)
           
 void addFunction(int index, org.enableit.db.beans.Function vFunction)
           
 void addJdbcMapping(int index, org.enableit.db.beans.JdbcMapping vJdbcMapping)
           
 void addJdbcMapping(org.enableit.db.beans.JdbcMapping vJdbcMapping)
           
 java.util.Enumeration enumerateFunction()
           
 java.util.Enumeration enumerateJdbcMapping()
           
 java.lang.String getAutoincrement()
          Returns the value of field 'autoincrement'.
 java.lang.String getDefault()
          Returns the value of field 'default'.
 org.enableit.db.beans.Function[] getFunction()
           
 org.enableit.db.beans.Function getFunction(int index)
           
 int getFunctionCount()
           
 org.enableit.db.beans.JdbcMapping[] getJdbcMapping()
           
 org.enableit.db.beans.JdbcMapping getJdbcMapping(int index)
           
 int getJdbcMappingCount()
           
 java.lang.String getMaxTableNameLength()
          Returns the value of field 'maxTableNameLength'.
 java.lang.String getModifyColumn()
          Returns the value of field 'modifyColumn'.
 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'.
 boolean getParenthesesWrappedDdlColumns()
          Returns the value of field 'parenthesesWrappedDdlColumns'.
 java.lang.String getPrimaryKey()
          Returns the value of field 'primaryKey'.
 boolean hasParenthesesWrappedDdlColumns()
           
 boolean isValid()
           
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void removeAllFunction()
           
 void removeAllJdbcMapping()
           
 org.enableit.db.beans.Function removeFunction(int index)
           
 org.enableit.db.beans.JdbcMapping removeJdbcMapping(int index)
           
 void setAutoincrement(java.lang.String autoincrement)
          Sets the value of field 'autoincrement'.
 void setDefault(java.lang.String _default)
          Sets the value of field 'default'.
 void setFunction(org.enableit.db.beans.Function[] functionArray)
           
 void setFunction(int index, org.enableit.db.beans.Function vFunction)
           
 void setJdbcMapping(int index, org.enableit.db.beans.JdbcMapping vJdbcMapping)
           
 void setJdbcMapping(org.enableit.db.beans.JdbcMapping[] jdbcMappingArray)
           
 void setMaxTableNameLength(java.lang.String maxTableNameLength)
          Sets the value of field 'maxTableNameLength'.
 void setModifyColumn(java.lang.String modifyColumn)
          Sets the value of field 'modifyColumn'.
 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 setParenthesesWrappedDdlColumns(boolean parenthesesWrappedDdlColumns)
          Sets the value of field 'parenthesesWrappedDdlColumns'.
 void setPrimaryKey(java.lang.String primaryKey)
          Sets the value of field 'primaryKey'.
static org.enableit.db.beans.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
 

Constructor Detail

DarrtDbms

public DarrtDbms()
Method Detail

addFunction

public void addFunction(org.enableit.db.beans.Function vFunction)
                 throws java.lang.IndexOutOfBoundsException
Parameters:
vFunction -
java.lang.IndexOutOfBoundsException

addFunction

public void addFunction(int index,
                        org.enableit.db.beans.Function vFunction)
                 throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vFunction -
java.lang.IndexOutOfBoundsException

addJdbcMapping

public void addJdbcMapping(org.enableit.db.beans.JdbcMapping vJdbcMapping)
                    throws java.lang.IndexOutOfBoundsException
Parameters:
vJdbcMapping -
java.lang.IndexOutOfBoundsException

addJdbcMapping

public void addJdbcMapping(int index,
                           org.enableit.db.beans.JdbcMapping vJdbcMapping)
                    throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vJdbcMapping -
java.lang.IndexOutOfBoundsException

enumerateFunction

public java.util.Enumeration enumerateFunction()

enumerateJdbcMapping

public java.util.Enumeration enumerateJdbcMapping()

getAutoincrement

public java.lang.String getAutoincrement()
Returns the value of field 'autoincrement'.

Returns:
the value of field 'autoincrement'.

getDefault

public java.lang.String getDefault()
Returns the value of field 'default'.

Returns:
the value of field 'default'.

getFunction

public org.enableit.db.beans.Function getFunction(int index)
                                           throws java.lang.IndexOutOfBoundsException
Parameters:
index -
java.lang.IndexOutOfBoundsException

getFunction

public org.enableit.db.beans.Function[] getFunction()

getFunctionCount

public int getFunctionCount()

getJdbcMapping

public org.enableit.db.beans.JdbcMapping getJdbcMapping(int index)
                                                 throws java.lang.IndexOutOfBoundsException
Parameters:
index -
java.lang.IndexOutOfBoundsException

getJdbcMapping

public org.enableit.db.beans.JdbcMapping[] getJdbcMapping()

getJdbcMappingCount

public int getJdbcMappingCount()

getMaxTableNameLength

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

Returns:
the value of field 'maxTableNameLength'.

getModifyColumn

public java.lang.String getModifyColumn()
Returns the value of field 'modifyColumn'.

Returns:
the value of field 'modifyColumn'.

getName

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

Returns:
the value of field 'name'.

getNotNull

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

Returns:
the value of field 'notNull'.

getNull

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

Returns:
the value of field 'null'.

getParenthesesWrappedDdlColumns

public boolean getParenthesesWrappedDdlColumns()
Returns the value of field 'parenthesesWrappedDdlColumns'.

Returns:
the value of field 'parenthesesWrappedDdlColumns'.

getPrimaryKey

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

Returns:
the value of field 'primaryKey'.

hasParenthesesWrappedDdlColumns

public boolean hasParenthesesWrappedDdlColumns()

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
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
Parameters:
handler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeAllFunction

public void removeAllFunction()

removeAllJdbcMapping

public void removeAllJdbcMapping()

removeFunction

public org.enableit.db.beans.Function removeFunction(int index)
Parameters:
index -

removeJdbcMapping

public org.enableit.db.beans.JdbcMapping removeJdbcMapping(int index)
Parameters:
index -

setAutoincrement

public void setAutoincrement(java.lang.String autoincrement)
Sets the value of field 'autoincrement'.

Parameters:
autoincrement - the value of field 'autoincrement'.

setDefault

public void setDefault(java.lang.String _default)
Sets the value of field 'default'.

Parameters:
_default -

setFunction

public void setFunction(int index,
                        org.enableit.db.beans.Function vFunction)
                 throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vFunction -
java.lang.IndexOutOfBoundsException

setFunction

public void setFunction(org.enableit.db.beans.Function[] functionArray)
Parameters:
functionArray -

setJdbcMapping

public void setJdbcMapping(int index,
                           org.enableit.db.beans.JdbcMapping vJdbcMapping)
                    throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vJdbcMapping -
java.lang.IndexOutOfBoundsException

setJdbcMapping

public void setJdbcMapping(org.enableit.db.beans.JdbcMapping[] jdbcMappingArray)
Parameters:
jdbcMappingArray -

setMaxTableNameLength

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

Parameters:
maxTableNameLength - the value of field 'maxTableNameLength'.

setModifyColumn

public void setModifyColumn(java.lang.String modifyColumn)
Sets the value of field 'modifyColumn'.

Parameters:
modifyColumn - the value of field 'modifyColumn'.

setName

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

Parameters:
name - the value of field 'name'.

setNotNull

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

Parameters:
notNull - the value of field 'notNull'.

setNull

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

Parameters:
_null -

setParenthesesWrappedDdlColumns

public void setParenthesesWrappedDdlColumns(boolean parenthesesWrappedDdlColumns)
Sets the value of field 'parenthesesWrappedDdlColumns'.

Parameters:
parenthesesWrappedDdlColumns - the value of field 'parenthesesWrappedDdlColumns'.

setPrimaryKey

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

Parameters:
primaryKey - the value of field 'primaryKey'.

unmarshal

public static org.enableit.db.beans.DarrtDbms unmarshal(java.io.Reader reader)
                                                 throws org.exolab.castor.xml.MarshalException,
                                                        org.exolab.castor.xml.ValidationException
Parameters:
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

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


Copyright © 1999-2004 enableIT.org. All Rights Reserved.