public class Namespace extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Namespace.ComparableHelper |
static class |
Namespace.Name |
Constructor and Description |
---|
Namespace(Database database,
Namespace.Name name) |
Modifier and Type | Method and Description |
---|---|
DenormalizedTable |
createDenormalizedTable(Identifier logicalTableName,
boolean isAbstract,
Table includedTable) |
Sequence |
createSequence(Identifier logicalName,
int initialValue,
int increment) |
Table |
createTable(Identifier logicalTableName,
boolean isAbstract)
Creates a mapping Table instance.
|
boolean |
equals(Object o) |
Namespace.Name |
getName() |
Namespace.Name |
getPhysicalName() |
Iterable<Sequence> |
getSequences() |
Collection<Table> |
getTables() |
int |
hashCode() |
Sequence |
locateSequence(Identifier name) |
Table |
locateTable(Identifier logicalTableName)
Returns the table with the specified logical table name.
|
String |
toString() |
public Namespace(Database database, Namespace.Name name)
public Namespace.Name getName()
public Namespace.Name getPhysicalName()
public Collection<Table> getTables()
public Table locateTable(Identifier logicalTableName)
logicalTableName
- - the logical name of the tablepublic Table createTable(Identifier logicalTableName, boolean isAbstract)
logicalTableName
- The logical table namepublic DenormalizedTable createDenormalizedTable(Identifier logicalTableName, boolean isAbstract, Table includedTable)
public Sequence locateSequence(Identifier name)
public Sequence createSequence(Identifier logicalName, int initialValue, int increment)
Copyright © 2017 JBoss by Red Hat. All rights reserved.