|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static int |
AUTO_CREATE
Bit flag passed to validate() to indicate that the table should be created if it is missing. |
static int |
TABLE_TYPE_BASE_TABLE
Returned by StoreManager.getTableType() if the table is a base table. |
static int |
TABLE_TYPE_MISSING
Returned by StoreManager.getTableType() if the table does not exist. |
static int |
TABLE_TYPE_UNKNOWN
Returned by StoreManager.getTableType() if the table type is not recognized. |
static int |
TABLE_TYPE_VIEW
Returned by StoreManager.getTableType() if the table is a view. |
static int |
VALIDATE
Bit flag passed to validate() to indicate that the table structure should be validated using JDBC metadata. |
Method Summary | |
void |
addColumn(Column col)
|
void |
create(java.sql.Connection conn)
|
void |
drop(java.sql.Connection conn)
|
boolean |
exists(java.sql.Connection conn)
|
ClassMetaData |
getClassMetaData()
|
Mapping |
getFieldMapping(int fieldNumber)
|
Mapping |
getFieldMapping(java.lang.String fieldName)
|
java.lang.String |
getJavaName()
|
SQLIdentifier |
getName()
|
java.lang.String |
getSchemaName()
|
StoreManager |
getStoreManager()
|
int |
getTableID()
|
java.lang.Class |
getType()
|
void |
initialize()
|
boolean |
isFieldPersistent(int fieldNumber)
|
boolean |
isInitialized()
|
boolean |
isValidated()
|
Column |
newColumn(java.lang.Class type,
SQLIdentifier name,
Role role)
|
Column |
newColumn(java.lang.Class type,
java.lang.String javaName)
|
javax.jdo.Extent |
newExtent(PersistenceManager pm,
boolean subclasses)
|
OID |
newOID()
|
boolean |
validate(int flags,
java.sql.Connection conn)
|
Field Detail |
public static final int TABLE_TYPE_MISSING
public static final int TABLE_TYPE_UNKNOWN
public static final int TABLE_TYPE_BASE_TABLE
public static final int TABLE_TYPE_VIEW
public static final int VALIDATE
public static final int AUTO_CREATE
Method Detail |
public java.lang.Class getType()
public ClassMetaData getClassMetaData()
public javax.jdo.Extent newExtent(PersistenceManager pm, boolean subclasses)
public boolean isFieldPersistent(int fieldNumber)
public Mapping getFieldMapping(int fieldNumber)
public Mapping getFieldMapping(java.lang.String fieldName)
public int getTableID()
public java.lang.String getJavaName()
public OID newOID()
public void initialize()
public boolean isInitialized()
public SQLIdentifier getName()
public StoreManager getStoreManager()
public java.lang.String getSchemaName()
public void addColumn(Column col)
public Column newColumn(java.lang.Class type, java.lang.String javaName)
public Column newColumn(java.lang.Class type, SQLIdentifier name, Role role)
public boolean exists(java.sql.Connection conn) throws java.sql.SQLException
java.sql.SQLException
public void create(java.sql.Connection conn) throws java.sql.SQLException
java.sql.SQLException
public boolean validate(int flags, java.sql.Connection conn) throws java.sql.SQLException
java.sql.SQLException
public boolean isValidated()
public void drop(java.sql.Connection conn) throws java.sql.SQLException
java.sql.SQLException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |