org.enableit.db.beans
Class Column

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

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

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

Constructor Summary
Column()
           
 
Method Summary
 java.lang.String getColName()
          Returns the value of field 'colName'.
 java.lang.String getColType()
          Returns the value of field 'colType'.
 java.lang.String getDefault()
          Returns the value of field 'default'.
 java.lang.String getDescription()
          Returns the value of field 'description'.
 org.enableit.db.beans.ForeignKey getForeignKey()
          Returns the value of field 'foreignKey'.
 java.lang.String getNull()
          Returns the value of field 'null'.
 java.lang.String getPrimaryKey()
          Returns the value of field 'primaryKey'.
 java.lang.String getTableName()
          Returns the value of field 'tableName'.
 boolean isValid()
           
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setColName(java.lang.String colName)
          Sets the value of field 'colName'.
 void setColType(java.lang.String colType)
          Sets the value of field 'colType'.
 void setDefault(java.lang.String _default)
          Sets the value of field 'default'.
 void setDescription(java.lang.String description)
          Sets the value of field 'description'.
 void setForeignKey(org.enableit.db.beans.ForeignKey foreignKey)
          Sets the value of field 'foreignKey'.
 void setNull(java.lang.String _null)
          Sets the value of field 'null'.
 void setPrimaryKey(java.lang.String primaryKey)
          Sets the value of field 'primaryKey'.
 void setTableName(java.lang.String tableName)
          Sets the value of field 'tableName'.
static org.enableit.db.beans.Column 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

Column

public Column()
Method Detail

getColName

public java.lang.String getColName()
Returns the value of field 'colName'.

Returns:
the value of field 'colName'.

getColType

public java.lang.String getColType()
Returns the value of field 'colType'.

Returns:
the value of field 'colType'.

getDefault

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

Returns:
the value of field 'default'.

getDescription

public java.lang.String getDescription()
Returns the value of field 'description'.

Returns:
the value of field 'description'.

getForeignKey

public org.enableit.db.beans.ForeignKey getForeignKey()
Returns the value of field 'foreignKey'.

Returns:
the value of field 'foreignKey'.

getNull

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

Returns:
the value of field 'null'.

getPrimaryKey

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

Returns:
the value of field 'primaryKey'.

getTableName

public java.lang.String getTableName()
Returns the value of field 'tableName'.

Returns:
the value of field 'tableName'.

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

setColName

public void setColName(java.lang.String colName)
Sets the value of field 'colName'.

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

setColType

public void setColType(java.lang.String colType)
Sets the value of field 'colType'.

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

setDefault

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

Parameters:
_default -

setDescription

public void setDescription(java.lang.String description)
Sets the value of field 'description'.

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

setForeignKey

public void setForeignKey(org.enableit.db.beans.ForeignKey foreignKey)
Sets the value of field 'foreignKey'.

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

setNull

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

Parameters:
_null -

setPrimaryKey

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

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

setTableName

public void setTableName(java.lang.String tableName)
Sets the value of field 'tableName'.

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

unmarshal

public static org.enableit.db.beans.Column 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.