|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectseniorproj.Column
public class Column
Creates a column object containing information regarding the column name, the table its from, and the numerical attributes.
Constructor Summary | |
---|---|
Column()
Default Column constructor for initialization. |
|
Column(java.lang.String name,
java.lang.String tname,
java.lang.String type,
int length,
int precision,
int scale)
Column constructor for initializing and creating a Column object. |
Method Summary | |
---|---|
int |
getLength()
Retrieve the Column's length. |
java.lang.String |
getName()
Retrieve the Column's name. |
int |
getPrec()
Retrieve the Column's precision. |
int |
getScale()
Retrieve the Column's scale. |
java.lang.String |
getTname()
Retrieve the Column's tablename. |
java.lang.String |
getType()
Retrieve the Column's type. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Column()
public Column(java.lang.String name, java.lang.String tname, java.lang.String type, int length, int precision, int scale)
name
- Name of the columntname
- Name of the column's tabletype
- Type of the columnlength
- The length of whatever type the column holdsprecision
- The precision of whatever type the column holdsscale
- The scale of whatever type the column holdsMethod Detail |
---|
public java.lang.String getName()
public java.lang.String getTname()
public java.lang.String getType()
public int getLength()
public int getPrec()
public int getScale()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |