|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--weblogic.db.jdbc.Schema
A Schema contains metadata about the attributes associated with a DataSet.
For implementation and usage see the Developers Guide.
DataSet, Serialized Form| Constructor Summary | |
Schema()
Private - used for serialization |
|
| Method Summary | |
java.lang.String |
attributes()
|
Column |
column(int pos)
Returns the Column object at the specified index position in a Schema. |
Column |
column(java.lang.String pos)
Returns the Column object of the specified name from a Schema. |
void |
destroy()
Private - used for serialization |
int |
index(java.lang.String colname)
Returns the 1-based index position of the specified Column name in a Schema. |
void |
initialize()
Private - used for serialization |
int |
numberOfColumns()
Returns the number of columns in a Schema object. |
void |
readExternal(java.io.ObjectInput in)
Private - used for serialization |
static Schema |
schema(java.sql.Connection conn,
java.lang.String tablename)
Returns the Schema for the specified database table. |
static Schema |
schema(java.sql.Connection conn,
java.lang.String tablename,
java.lang.String attributes)
Returns the Schema for the specified database table and fields. |
java.lang.String |
tableName()
|
java.lang.String |
toString()
Displays the column attributes of a Schema in a newline-delimited list, with one attribute per line. |
void |
writeExternal(java.io.ObjectOutput out)
Private - used for serialization |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public Schema()
| Method Detail |
public static Schema schema(java.sql.Connection conn,
java.lang.String tablename)
throws java.sql.SQLException,
DataSetException
conn - Connection objecttablename - Name of database table
public static Schema schema(java.sql.Connection conn,
java.lang.String tablename,
java.lang.String attributes)
throws java.sql.SQLException,
DataSetException
conn - Connection objecttablename - Name of database tableattributes - Attributes of tablepublic java.lang.String attributes()
public java.lang.String tableName()
public int numberOfColumns()
public int index(java.lang.String colname)
throws DataSetException
colname - Name of the column
public Column column(java.lang.String pos)
throws DataSetException
pos - Name of column
public Column column(int pos)
throws DataSetException
pos - Index into the Schema (1-based)public java.lang.String toString()
public void initialize()
public void destroy()
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs60 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||