|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.pega.pegarules.pub.database.Column
public final class Column
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
VERSION
|
Constructor Summary | |
---|---|
Column(Column aColumn,
java.lang.String aName)
Creates a copy of the column, with a new name. |
|
Column(java.lang.String aName,
com.pega.pegarules.priv.database.DatabaseStateToken aStateToken,
int aPos,
int aType,
boolean aIsKey,
java.lang.String aDescr,
int aLength,
boolean aNullable)
Deprecated. use the constructor that takes a catalog and schema name |
|
Column(java.lang.String aCatalog,
java.lang.String aSchema,
java.lang.String aTable,
java.lang.String aName,
com.pega.pegarules.priv.database.DatabaseStateToken aStateToken,
int aPos,
int aType,
java.lang.String aDBTypeName,
boolean aIsKey,
java.lang.String aDescr,
int aLength,
boolean aNullable)
Creates a column. |
Method Summary | |
---|---|
java.lang.String |
getCatalog()
Return the catalog. |
java.lang.String |
getDBTypeName()
Return the type of this column. |
java.lang.String |
getDescr()
Gets the descr |
int |
getLength()
Returns the length or precision of the column. |
java.lang.String |
getName()
Gets the name of the column |
int |
getPosition()
Returns the position of the column. |
java.lang.String |
getSchema()
Return the schema. |
java.lang.String |
getTable()
Return the table. |
int |
getType()
Gets the type of the column. |
boolean |
isKey()
Is this column a key? |
boolean |
isNullable()
May be column contain null values? |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String VERSION
Constructor Detail |
---|
public Column(java.lang.String aName, com.pega.pegarules.priv.database.DatabaseStateToken aStateToken, int aPos, int aType, boolean aIsKey, java.lang.String aDescr, int aLength, boolean aNullable)
aName
- the name of the column, or null if unknownaStateToken
- aPos
- the position of the column, if knownaType
- the type of the column--must be from
java.sql.Types
aIsKey
- is this column a key?aDescr
- a description of the column (or
null
if there is none)aLength
- length of precision of the column, or a negative number if it is unknownaNullable
- can the column value be null?public Column(java.lang.String aCatalog, java.lang.String aSchema, java.lang.String aTable, java.lang.String aName, com.pega.pegarules.priv.database.DatabaseStateToken aStateToken, int aPos, int aType, java.lang.String aDBTypeName, boolean aIsKey, java.lang.String aDescr, int aLength, boolean aNullable)
aCatalog
- the catalog the column is defined inaSchema
- the schema the column is defined inaTable
- the table the column is defined inaName
- the name of the columnaStateToken
- aPos
- the position of the columnaType
- the type of the column--must be from
java.sql.Types
aDBTypeName
- the name of the column type, as given by the
database productaIsKey
- is this column a key?aDescr
- a description of the column (or
null
if there is none)aLength
- length of precision of the columnaNullable
- can the column value be null?public Column(Column aColumn, java.lang.String aName)
aColumn
- the column to copyaName
- the new nameMethod Detail |
---|
public java.lang.String getName()
public int getType()
java.sql.Types
public java.lang.String getDescr()
public boolean isNullable()
public int getLength()
public boolean isKey()
public int getPosition()
public java.lang.String getCatalog()
public java.lang.String getSchema()
public java.lang.String getTable()
public java.lang.String getDBTypeName()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |