|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.avaje.ebean.config.TableName
public final class TableName
TableName holds catalog, schema and table name.
Constructor Summary | |
---|---|
TableName(String qualifiedTableName)
Construct splitting the qualifiedTableName potentially into catalog, schema and name. |
|
TableName(String catalog,
String schema,
String name)
Construct with the given catalog schema and table name. |
Method Summary | |
---|---|
String |
getCatalog()
Gets the catalog. |
String |
getName()
Gets the name. |
String |
getQualifiedName()
Returns the qualified name in the form catalog.schema.name. |
String |
getSchema()
Gets the schema. |
boolean |
isValid()
Checks if is table name is valid i.e. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TableName(String catalog, String schema, String name)
Note the catalog and schema can be null.
public TableName(String qualifiedTableName)
The qualifiedTableName can take the form of catalog.schema.tableName and is split on the '.' period character. The catalog and schema are optional.
qualifiedTableName
- the fully qualified table name using '.' between schema and
table name etc (with catalog and schema optional).Method Detail |
---|
public String toString()
toString
in class Object
public String getCatalog()
public String getSchema()
public String getName()
public String getQualifiedName()
Catalog and schema are optional.
public boolean isValid()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |