|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.odi.dataservices.fwk.ColumnsMeta
This class provides metadata about the columns of the managed entity to which it is attached.
Constructor Summary | |
ColumnsMeta()
Constructs a new ColumnsMeta object with no columns. |
|
ColumnsMeta(java.lang.String[] pColsName,
int[] pJdbcTypes,
boolean[] pNullables,
java.lang.String[] pDescriptions,
java.lang.String[] pPKColumns)
Constructs a new ColumnsMeta object with a set of columns.
|
Method Summary | |
void |
addColumnMeta(java.lang.String pColumnName,
int pJdbcType,
boolean pNullable,
boolean pPartOfPK,
java.lang.String pColumnDescription)
Appends a description to the column metadata. |
java.util.List |
getColumnsName()
Returns the list of column names. |
java.lang.String |
getDescription(java.lang.String pColumnName)
Returns the description of a column specified by name Column name must be defined. |
int |
getJDBCType(java.lang.String pColumnName)
Returns the JDBC type of a column, specified by name Column name must be defined. |
java.util.List |
getNotNullableColumnsName()
Returns the list of names of columns that are NOT nullable |
java.util.List |
getNotPKColumnsName()
Returns the list of names of columns that are NOT part of the primary key. |
java.util.List |
getNullableColumnsName()
Returns the list of names of columns that are nullable |
java.util.List |
getPKColumnsName()
Returns the list of names of columns that are part of the primary key. |
boolean |
isNullable(java.lang.String pColumnName)
Returns true if a column, specified by name, is nullable |
boolean |
isPartOfPK(java.lang.String pColumnName)
Returns true if a column, specified by name, is part of the primary key |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ColumnsMeta()
ColumnsMeta
object with no columns.
public ColumnsMeta(java.lang.String[] pColsName, int[] pJdbcTypes, boolean[] pNullables, java.lang.String[] pDescriptions, java.lang.String[] pPKColumns)
ColumnsMeta
object with a set of columns.
The set of columns is created from several arrays containing the main
column properties, in the same order as the columns: The first column's
name should be first in the array of column names, and its type first in
the array of JDBC types, and so on.
pColsName
- array of column namespJdbcTypes
- array of JDBC typespNullables
- array of Booleans indicating if the columns are nullablepDescriptions
- array of column descriptions. These descriptions are used to generate the WDSLMethod Detail |
public void addColumnMeta(java.lang.String pColumnName, int pJdbcType, boolean pNullable, boolean pPartOfPK, java.lang.String pColumnDescription)
pColumnName
- column namepJdbcType
- column JDBC Type.pNullable
- is the column nullable?pPartOfPK
- is the column part of the primary key?pColumnDescription
- column descriptionpublic java.util.List getColumnsName()
public java.util.List getPKColumnsName()
public java.util.List getNotPKColumnsName()
public java.util.List getNullableColumnsName()
public java.util.List getNotNullableColumnsName()
public int getJDBCType(java.lang.String pColumnName)
public boolean isNullable(java.lang.String pColumnName)
pColumnName
- column name
public boolean isPartOfPK(java.lang.String pColumnName)
pColumnName
- column name
public java.lang.String getDescription(java.lang.String pColumnName)
pColumnName
- column name
String
containing the column description
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |