public abstract class NFEMetadata
extends java.lang.Object
Constructor and Description |
---|
NFEMetadata() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTableSequence(java.lang.String tableName)
Gets the name of the sequence associated to the given table name
|
java.util.Collection<java.lang.String> |
getTablesWithSequence()
Returns all the table names that are associated to a sequence name
|
boolean |
hasSequence(java.lang.String tableName)
Tells whether the table name is associated to a sequence
|
void |
setTableSequence(java.lang.String tableName, java.lang.String sequenceName)
Associates a sequence name to a given table name
|
public void setTableSequence(java.lang.String tableName, java.lang.String sequenceName)
tableName
- a database table namesequenceName
- a database sequence namepublic java.lang.String getTableSequence(java.lang.String tableName)
tableName
- a database table namepublic boolean hasSequence(java.lang.String tableName)
tableName
- a database table namepublic java.util.Collection<java.lang.String> getTablesWithSequence()