|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.datatools.connectivity.sqm.loader.JDBCBaseLoader
org.eclipse.datatools.connectivity.sqm.loader.JDBCUDTAttributeLoader
public class JDBCUDTAttributeLoader
Base loader implementation for loading a UDT's attribute objects. This class may be specialized as necessary to meet a particular vendor's needs.
Field Summary | |
---|---|
static java.lang.String |
COLUMN_ATTR_DEF
The column name containing the attribute's default value. |
static java.lang.String |
COLUMN_ATTR_NAME
The column name containing the attribute's name. |
static java.lang.String |
COLUMN_ATTR_SIZE
The column name containing the attribute's size. |
static java.lang.String |
COLUMN_ATTR_TYPE_NAME
The column name containing the attribute's type name. |
static java.lang.String |
COLUMN_DATA_TYPE
The column name containing the attribute's data type. |
static java.lang.String |
COLUMN_DECIMAL_DIGITS
The column name containing the attribute's decimal digits. |
static java.lang.String |
COLUMN_NULLABLE
The column name containing the attribute's nullable. |
static java.lang.String |
COLUMN_REMARKS
The column name containing the attribute's description. |
static java.lang.String |
COLUMN_SCOPE_CATALOG
The column name containing the attribute's scope catalog. |
static java.lang.String |
COLUMN_SCOPE_SCHEMA
The column name containing the attribute's scope schema. |
static java.lang.String |
COLUMN_SCOPE_TABLE
The column name containing the attribute's scope table. |
Constructor Summary | |
---|---|
JDBCUDTAttributeLoader(ICatalogObject catalogObject)
This constructs the loader using no filtering. |
|
JDBCUDTAttributeLoader(ICatalogObject catalogObject,
IConnectionFilterProvider connectionFilterProvider)
|
Method Summary | |
---|---|
void |
clearAttributeDefinitions(java.util.List attrDefs)
Removes the specified attribute definitions from the model. |
java.util.List |
loadAttributeDefinitions()
Loads the "attribute" objects from the database. |
Methods inherited from class org.eclipse.datatools.connectivity.sqm.loader.JDBCBaseLoader |
---|
getCatalogObject, setCatalogObject |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COLUMN_ATTR_NAME
java.sql.DatabaseMetaData.getAttributes()
,
Constant Field Valuespublic static final java.lang.String COLUMN_DATA_TYPE
java.sql.DatabaseMetaData.getAttributes()
,
Constant Field Valuespublic static final java.lang.String COLUMN_ATTR_TYPE_NAME
java.sql.DatabaseMetaData.getAttributes()
,
Constant Field Valuespublic static final java.lang.String COLUMN_ATTR_SIZE
java.sql.DatabaseMetaData.getAttributes()
,
Constant Field Valuespublic static final java.lang.String COLUMN_DECIMAL_DIGITS
java.sql.DatabaseMetaData.getAttributes()
,
Constant Field Valuespublic static final java.lang.String COLUMN_NULLABLE
java.sql.DatabaseMetaData.getAttributes()
,
Constant Field Valuespublic static final java.lang.String COLUMN_REMARKS
java.sql.DatabaseMetaData.getAttributes()
,
Constant Field Valuespublic static final java.lang.String COLUMN_ATTR_DEF
java.sql.DatabaseMetaData.getAttributes()
,
Constant Field Valuespublic static final java.lang.String COLUMN_SCOPE_CATALOG
java.sql.DatabaseMetaData.getAttributes()
,
Constant Field Valuespublic static final java.lang.String COLUMN_SCOPE_SCHEMA
java.sql.DatabaseMetaData.getAttributes()
,
Constant Field Valuespublic static final java.lang.String COLUMN_SCOPE_TABLE
java.sql.DatabaseMetaData.getAttributes()
,
Constant Field ValuesConstructor Detail |
---|
public JDBCUDTAttributeLoader(ICatalogObject catalogObject)
catalogObject
- the UDT object upon which this loader operates.public JDBCUDTAttributeLoader(ICatalogObject catalogObject, IConnectionFilterProvider connectionFilterProvider)
catalogObject
- the UDT object upon which this loader operates.connectionFilterProvider
- the filter provider used for filtering
the "column" objects being loadedMethod Detail |
---|
public java.util.List loadAttributeDefinitions() throws java.sql.SQLException
java.sql.SQLException
- if an error occurred during loading.public void clearAttributeDefinitions(java.util.List attrDefs)
attrDefs
- the attribute definitions to be removed from the model.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |