dea.build
Class ColInfo

java.lang.Object
  extended bydea.build.ColInfo
All Implemented Interfaces:
java.io.Serializable

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

Title: ColInfo
Description: Holds info about a column from a table or view.
Copyright: Copyright (c) 2001-2004
Company: RMRR

@author David Abigt
@version 1.0

See Also:
Serialized Form

Constructor Summary
ColInfo()
           
 
Method Summary
 java.lang.String getColName()
          gets the name of the column in the table
 java.lang.String getConstraint()
          name of constraint assoc with this column if there is one
 java.lang.String getDefaultVal()
          value used as default
 int getfNum()
           
 java.lang.String getGsName()
           
 java.lang.String getjType()
          GetName SQL used to create
 int getLength()
          max length of data column will hold if type String
 java.lang.String getType()
          gets java type of data colmun will hold
 java.lang.String getvName()
           
 java.lang.String getVName()
          gets what we want to call the member
 boolean isNumeric()
           
 boolean isPk()
          true is this column is an IDENITY column
 boolean isSk()
           
 void setColName(java.lang.String colName)
           
 void setConstraint(java.lang.String constraint)
           
 void setDefaultVal(java.lang.String defaultVal)
           
 void setfNum(int fNum)
           
 void setGsName(java.lang.String gsName)
           
 void setjType(java.lang.String jType)
           
 void setLength(int length)
           
 void setNumeric(boolean numeric)
           
 void setPk(boolean pk)
           
 void setSk(boolean sk)
           
 void setType(java.lang.String type)
           
 void setvName(java.lang.String vName)
           
 void setVName(java.lang.String vName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColInfo

public ColInfo()
Method Detail

isNumeric

public boolean isNumeric()

setNumeric

public void setNumeric(boolean numeric)

getvName

public java.lang.String getvName()

setvName

public void setvName(java.lang.String vName)

isSk

public boolean isSk()

setSk

public void setSk(boolean sk)

getfNum

public int getfNum()

setfNum

public void setfNum(int fNum)

getGsName

public java.lang.String getGsName()

setGsName

public void setGsName(java.lang.String gsName)

setColName

public void setColName(java.lang.String colName)

getjType

public java.lang.String getjType()
GetName SQL used to create

Returns:
String

setjType

public void setjType(java.lang.String jType)
Parameters:
jType -

getColName

public java.lang.String getColName()
gets the name of the column in the table

Returns:
String

setVName

public void setVName(java.lang.String vName)

getVName

public java.lang.String getVName()
gets what we want to call the member

Returns:
String

setType

public void setType(java.lang.String type)

getType

public java.lang.String getType()
gets java type of data colmun will hold

Returns:
String

setLength

public void setLength(int length)

getLength

public int getLength()
max length of data column will hold if type String

Returns:
String

setPk

public void setPk(boolean pk)

isPk

public boolean isPk()
true is this column is an IDENITY column

Returns:
String

setDefaultVal

public void setDefaultVal(java.lang.String defaultVal)

getDefaultVal

public java.lang.String getDefaultVal()
value used as default

Returns:
String

setConstraint

public void setConstraint(java.lang.String constraint)

getConstraint

public java.lang.String getConstraint()
name of constraint assoc with this column if there is one

Returns:
String


Copyright © 2001-2005 Round Mountain Rescue Ranch. All Rights Reserved.