public static class DBMetaData.TableInfo extends Object implements Comparable<DBMetaData.TableInfo>, Copyable<DBMetaData.TableInfo>, Serializable
The class has properties like type, name.
Constructor and Description |
---|
TableInfo(DBMetaData.TableType type,
String schema,
String name)
Constructor for creating a new instance of a
DBMetaData.TableInfo . |
Modifier and Type | Method and Description |
---|---|
DBMetaData.TableInfo |
clone()
Returns a field-for-field copy of this instance.
|
int |
compareTo(DBMetaData.TableInfo other) |
boolean |
equals(Object obj) |
Object |
getClientProperty(Object key) |
String |
getName()
Returns the table name of this
DBMetaData.TableInfo . |
String |
getSchema()
Returns the schema of this
DBMetaData.TableInfo , may be
null . |
DBMetaData.TableType |
getType()
Returns the table type of this
DBMetaData.TableInfo . |
int |
hashCode() |
void |
putClientProperty(Object key,
Object value) |
String |
toString() |
public TableInfo(DBMetaData.TableType type, String schema, String name)
DBMetaData.TableInfo
.type
- the DBMetaData.TableType
of this DBMetaData.TableInfo
name
- the table namepublic DBMetaData.TableType getType()
DBMetaData.TableInfo
.public String getSchema()
DBMetaData.TableInfo
, may be
null
.public String getName()
DBMetaData.TableInfo
.public int compareTo(DBMetaData.TableInfo other)
compareTo
in interface Comparable<DBMetaData.TableInfo>
public DBMetaData.TableInfo clone()
clone
in interface Copyable<DBMetaData.TableInfo>
clone
in class Object
Copyright © 2003–2022 XDEV Software. All rights reserved.