|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.finalist.jaggenerator.Column
| 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 |
static org.apache.commons.logging.Log log
| Constructor Detail |
public Column()
| Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name - New value of property name.public void setSqlType(java.lang.String sqlType)
sqlType - New value of property sqlType.public int getPrecision()
public void setPrecision(int precision)
precision - New value of property precision.public int getScale()
public void setScale(int scale)
scale - New value of property scale.public int getLength()
public void setLength(int length)
length - New value of property length.public java.lang.String getSqlType()
public boolean isPrimaryKey()
public void setPrimaryKey(boolean value)
value - to true if column is a primary key columnpublic boolean isNullable()
public void setNullable(boolean nullable)
nullable - set to true if the column is nullable.public java.lang.String toString()
{@link java.lang.Object#toString()}.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||