com.finalist.jaggenerator
Class Column

java.lang.Object
  extended bycom.finalist.jaggenerator.Column
All Implemented Interfaces:
java.io.Serializable

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

Author:
hillebrand
See Also:
Serialized Form

Field Summary
(package private) static org.apache.commons.logging.Log log
           
 
Constructor Summary
Column()
          Creates a new instance of Column
 
Method Summary
 int getLength()
          Getter for property length.
 java.lang.String getName()
          Getter for property name.
 int getPrecision()
          Getter for property precision.
 int getScale()
          Getter for property scale.
 java.lang.String getSqlType()
          Getter for property sqlType.
 boolean isNullable()
          Gets the 'nullableString' property as a boolean.
 boolean isPrimaryKey()
          Getter for property primary Key
 void setLength(int length)
          Setter for property length.
 void setName(java.lang.String name)
          Setter for property name.
 void setNullable(boolean nullable)
          Sets the 'nullable' property with a value from a database columns dumo.
 void setPrecision(int precision)
          Setter for property precision.
 void setPrimaryKey(boolean value)
          Setter for the primary key.
 void setScale(int scale)
          Setter for property scale.
 void setSqlType(java.lang.String sqlType)
          Setter for property sqlType.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

static org.apache.commons.logging.Log log
Constructor Detail

Column

public Column()
Creates a new instance of Column

Method Detail

getName

public java.lang.String getName()
Getter for property name.

Returns:
Value of property name.

setName

public void setName(java.lang.String name)
Setter for property name.

Parameters:
name - New value of property name.

setSqlType

public void setSqlType(java.lang.String sqlType)
Setter for property sqlType.

Parameters:
sqlType - New value of property sqlType.

getPrecision

public int getPrecision()
Getter for property precision.

Returns:
Value of property precision.

setPrecision

public void setPrecision(int precision)
Setter for property precision.

Parameters:
precision - New value of property precision.

getScale

public int getScale()
Getter for property scale.

Returns:
Value of property scale.

setScale

public void setScale(int scale)
Setter for property scale.

Parameters:
scale - New value of property scale.

getLength

public int getLength()
Getter for property length.

Returns:
Value of property length.

setLength

public void setLength(int length)
Setter for property length.

Parameters:
length - New value of property length.

getSqlType

public java.lang.String getSqlType()
Getter for property sqlType.

Returns:
Value of property sqlType.

isPrimaryKey

public boolean isPrimaryKey()
Getter for property primary Key

Returns:
Value of primary key.

setPrimaryKey

public void setPrimaryKey(boolean value)
Setter for the primary key.

Parameters:
value - to true if column is a primary key column

isNullable

public boolean isNullable()
Gets the 'nullableString' property as a boolean.

Returns:
the boolean interpretation of the 'nullableString' property.

setNullable

public void setNullable(boolean nullable)
Sets the 'nullable' property with a value from a database columns dumo.

Parameters:
nullable - set to true if the column is nullable.

toString

public java.lang.String toString()
See Also:
{@link java.lang.Object#toString()}.


Copyright © 2003-2005 SourceForge. All Rights Reserved.