Package oracle.spatial.network.nfe.model
Class NFEMetadata
- java.lang.Object
-
- oracle.spatial.network.nfe.model.NFEMetadata
-
- Direct Known Subclasses:
NFEFeatureLayerMetadata
,NFEModelMetadata
,NFENetworkMetadata
public abstract class NFEMetadata extends java.lang.Object
Parent class for all classes that hold metadata of any First Class Model Object such as NFEModel, NFENetwork or NFEFeatureLayer. This class contains convenient methods that may be used by any sub class
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,java.lang.String>
tableSequenceMap
-
Constructor Summary
Constructors Constructor Description NFEMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getTableSequence(java.lang.String tableName)
Gets the name of the sequence associated to the given table namejava.util.Collection<java.lang.String>
getTablesWithSequence()
Returns all the table names that are associated to a sequence nameboolean
hasSequence(java.lang.String tableName)
Tells whether the table name is associated to a sequencevoid
setTableSequence(java.lang.String tableName, java.lang.String sequenceName)
Associates a sequence name to a given table name
-
-
-
Method Detail
-
setTableSequence
public void setTableSequence(java.lang.String tableName, java.lang.String sequenceName)
Associates a sequence name to a given table name- Parameters:
tableName
- a database table namesequenceName
- a database sequence name
-
getTableSequence
public java.lang.String getTableSequence(java.lang.String tableName)
Gets the name of the sequence associated to the given table name- Parameters:
tableName
- a database table name- Returns:
- a name of a sequence or null if the table is not associated to any sequence
-
hasSequence
public boolean hasSequence(java.lang.String tableName)
Tells whether the table name is associated to a sequence- Parameters:
tableName
- a database table name- Returns:
- true if the table is associated to a sequence.
-
getTablesWithSequence
public java.util.Collection<java.lang.String> getTablesWithSequence()
Returns all the table names that are associated to a sequence name- Returns:
- a collection containing table names as strings
-
-