public interface NetworkMetadata
extends java.lang.Cloneable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
BIDIRECTED_LINK |
static int |
DIRECTED_LINK |
static int |
UNDIRECTED_LINK |
Modifier and Type | Method and Description |
---|---|
void |
addLinkData(java.lang.String dataName, java.lang.String dataType, int dataLength)
Adds a link user data entry
|
void |
addNodeData(java.lang.String dataName, java.lang.String dataType, int dataLength)
Adds a node user data entry
|
void |
addPathData(java.lang.String dataName, java.lang.String dataType, int dataLength)
Adds a path user data entry
|
void |
addSubPathData(java.lang.String dataName, java.lang.String dataType, int dataLength)
Adds a subpath user data entry
|
java.lang.Object |
clone()
Clones the metadata.
|
boolean |
containsUserData()
Checks if the network has user data defined in user_sdo_network_user_data
|
void |
deleteLinkData(java.lang.String dataName)
Deletes a link user data entry
|
void |
deleteNodeData(java.lang.String dataName)
Deletes a node user data entry
|
void |
deletePathData(java.lang.String dataName)
Deletes a path user data entry
|
void |
deleteSubPathData(java.lang.String dataName)
Deletes a subpath user data entry
|
int |
getCategory()
Returns the network category (spatial or logical).
|
java.lang.String |
getComponentTableName(boolean addSchemaName)
Returns the component table name
|
java.lang.String |
getDefaultComponentTableName()
Returns the default component table name, which is <NETWORKNAME>_COMP$
|
java.lang.String |
getDefaultPartitionBlobTableName()
Returns the default partition table name, which is <NETWORKNAME>_PBLOB$
|
FeatureMetadata |
getFeatureMetadata()
Returns the feature metadata.
|
int |
getGeometryType()
Returns the network geometry type.
|
HistoryMetadata |
getHistoryMetadata()
Returns the network history metadata.
|
java.lang.String |
getLinkCostColumn()
Returns the link cost column name.
|
int |
getLinkDirection()
Returns the network link type (directed, or undirected).
|
java.lang.String |
getLinkDurationColumn()
Gets link duration column name
|
java.lang.String |
getLinkGeomColumn()
Returns the link geometry column name in the database.
|
GeometryMetadata |
getLinkGeomMetadata()
Returns the link geometry metadata.
|
java.lang.String |
getLinkPartitionColumn()
Deprecated.
|
java.lang.String |
getLinkTableName(boolean addSchemaName)
Returns the link table name in the database.
|
java.lang.String |
getLRSGeomColumn()
Returns the network LRS geometry column name in the database.
|
GeometryMetadata |
getLRSGeomMetadata()
Returns the network LRS geometry metadata.
|
java.lang.String |
getLRSTableName(boolean addSchemaName)
Returns the network geometry (LRS) table name in the database.
|
java.lang.String |
getName()
Returns the network name.
|
Network |
getNetwork()
Gets the network
|
int |
getNetworkID()
Gets the network ID.
|
java.lang.String |
getNodeCostColumn()
Returns the node cost column name.
|
java.lang.String |
getNodeDurationColumn()
Gets node duration column name
|
java.lang.String |
getNodeGeomColumn()
Returns the node geometry column name in the database.
|
GeometryMetadata |
getNodeGeomMetadata()
Returns the node geometry metadata.
|
java.lang.String |
getNodeLevelTableName(boolean addSchemaName)
Returns the node level table name
|
java.lang.String |
getNodePartitionColumn()
Deprecated.
|
java.lang.String |
getNodeTableName(boolean addSchemaName)
Returns the node table name in the database.
|
int |
getNoOfHierarchyLevels()
Returns the number of hierarchy levels.
|
int |
getNoOfPartitions()
Deprecated.
|
java.lang.String |
getPartitionBlobTableName(boolean addSchemaName)
Returns the partition BLOB table name
|
java.lang.String |
getPartitionTableName()
Deprecated.
|
java.lang.String |
getPartitionTableName(boolean addSchemaName)
Returns the partition table name.
|
java.lang.String |
getPathGeomColumn()
Returns the path geometry column name in the database.
|
GeometryMetadata |
getPathGeomMetadata()
Returns the path geometry metadata.
|
java.lang.String |
getPathLinkTableName()
Deprecated.
|
java.lang.String |
getPathLinkTableName(boolean addSchemaName)
Returns the path-link table name.
|
java.lang.String |
getPathTableName(boolean addSchemaName)
Returns the path table name in the database.
|
java.lang.String |
getSubPathGeomColumn()
Returns the subpath geometry column name in the database.
|
GeometryMetadata |
getSubPathGeomMetadata()
Returns the subpath geometry metadata.
|
java.lang.String |
getSubPathTableName(boolean addSchemaName)
Returns the subpath table name in the database.
|
java.lang.String |
getTopology()
Returns topology name of the network
|
java.lang.String |
getType()
Returns the network type.
|
java.lang.String |
getUser()
Returns the network owner.
|
java.lang.Object |
getUserData()
Returns the user defined data.
|
java.lang.Object |
getUserData(java.lang.String dataName)
Gets user data
|
UserDataMetadata |
getUserDataMetadata()
Returns the user data metadata
|
boolean |
isComplex()
Deprecated.
|
boolean |
isDirected()
Checks if the network is directed.
|
boolean |
isGeodetic()
Returns if the network is a geodetic spatial network
|
boolean |
isHierarchical()
Checks if the network is hierarchical.
|
boolean |
isLogical()
Checks if the network is logical.
|
boolean |
isLRSGeometry()
Checks if the network geometries are LRS SDO_GEOMETRY objects.
|
boolean |
isPartitioned()
Deprecated.
|
boolean |
isSDOGeometry()
Checks if the network geometries are SDO_GEOMETRY objects.
|
boolean |
isSimple()
Deprecated.
|
boolean |
isSpatial()
Checks if the network is spatial.
|
boolean |
isTopoGeometry()
Checks if the network geometries are SDO_TOPO_GEOMETRY objects.
|
boolean |
isUndirected()
Checks if the network is undirected.
|
boolean |
isVersioned()
Checks if the network is versioned
|
void |
setCategory(int category)
Sets the network category.
|
void |
setComponentTableName(java.lang.String componentTableName)
Sets the component table name
|
void |
setGeodetic(boolean flag)
Sets the geodetic geometry to flag
|
void |
setGeometryType(int geometryTtype)
Sets the geometry type of the network
|
void |
setLinkCostColumn(java.lang.String costColumn)
Sets link cost column
|
void |
setLinkDirection(int direction)
Sets link diretion (Network.UNDIRECTED_LINK or Network.DIRECTED_LINK)
|
void |
setLinkDurationColumn(java.lang.String durationColumn)
Sets link duration column name
|
void |
setLinkGeomMetadata(GeometryMetadata geomMetadata)
Sets Link Geometry Metadata
|
void |
setLinkPartitionColumn(java.lang.String partitionColumn)
Deprecated.
|
void |
setLRSGeomMetadata(GeometryMetadata geomMetadata)
Sets LRS Geometry Metadata
|
void |
setNodeCostColumn(java.lang.String costColumn)
Sets node cost column
|
void |
setNodeDurationColumn(java.lang.String durationColumn)
Sets node duration column name
|
void |
setNodeGeomMetadata(GeometryMetadata geomMetadata)
Sets Node Geometry Metadata
|
void |
setNodeLevelTableName(java.lang.String nodeLevelTableName)
Sets the node level table name
|
void |
setNodePartitionColumn(java.lang.String partitionColumn)
Deprecated.
|
void |
setNoOfHierarchyLevels(int no)
Sets the number of hierarchy levels.
|
void |
setNoOfPartitions(int no)
Deprecated.
|
void |
setPartitionBlobTableName(java.lang.String partitionBlobTableName)
Sets the partition BLOB table name
|
void |
setPartitionTableName(java.lang.String partitionTableName)
Sets partition table name
|
void |
setPathGeomMetadata(GeometryMetadata geomMetadata)
Sets Path Geometry Metadata
|
void |
setPathLinkTableName(java.lang.String name)
Set the path link table name
|
void |
setSubPathGeomMetadata(GeometryMetadata geomMetadata)
Sets SubPath Geometry Metadata
|
void |
setType(java.lang.String type)
Sets network type
|
void |
setUserData(java.lang.Object userData)
Sets user defined data.
|
void |
setUserData(java.lang.String dataName, java.lang.Object data)
Sets user data
|
static final int UNDIRECTED_LINK
static final int BIDIRECTED_LINK
static final int DIRECTED_LINK
java.lang.String getUser()
java.lang.String getName()
int getCategory()
java.lang.String getType()
int getLinkDirection()
int getGeometryType()
java.lang.Object getUserData()
void setUserData(java.lang.Object userData)
userData
- the user dataGeometryMetadata getNodeGeomMetadata()
GeometryMetadata getLinkGeomMetadata()
GeometryMetadata getLRSGeomMetadata()
GeometryMetadata getPathGeomMetadata()
GeometryMetadata getSubPathGeomMetadata()
java.lang.String getLinkCostColumn()
java.lang.String getNodeCostColumn()
java.lang.String getPartitionTableName()
java.lang.String getPartitionTableName(boolean addSchemaName)
addSchemaName
- prefix schema name or notjava.lang.String getNodePartitionColumn()
java.lang.String getLinkPartitionColumn()
int getNoOfHierarchyLevels()
int getNoOfPartitions()
java.lang.String getPathLinkTableName()
java.lang.String getPathLinkTableName(boolean addSchemaName)
addSchemaName
- prefix schema name or notboolean isHierarchical()
boolean isSpatial()
boolean isLogical()
boolean isDirected()
boolean isUndirected()
void setNoOfHierarchyLevels(int no)
no
- the number of hierarchy levelsvoid setNoOfPartitions(int no)
no
- the number of partitionsboolean isSDOGeometry()
boolean isLRSGeometry()
boolean isTopoGeometry()
void setCategory(int category)
category
- the network category to be setjava.lang.Object clone()
int getNetworkID()
Network getNetwork()
void setNodeGeomMetadata(GeometryMetadata geomMetadata)
void setLinkGeomMetadata(GeometryMetadata geomMetadata)
void setPathGeomMetadata(GeometryMetadata geomMetadata)
void setSubPathGeomMetadata(GeometryMetadata geomMetadata)
void setLRSGeomMetadata(GeometryMetadata geomMetadata)
void setLinkCostColumn(java.lang.String costColumn)
void setNodeCostColumn(java.lang.String costColumn)
void setNodePartitionColumn(java.lang.String partitionColumn)
void setLinkPartitionColumn(java.lang.String partitionColumn)
void setType(java.lang.String type)
void setLinkDirection(int direction)
void setGeometryType(int geometryTtype)
boolean isSimple()
boolean isComplex()
void setPartitionTableName(java.lang.String partitionTableName)
void setNodeDurationColumn(java.lang.String durationColumn)
void setLinkDurationColumn(java.lang.String durationColumn)
java.lang.String getNodeDurationColumn()
java.lang.String getLinkDurationColumn()
boolean isPartitioned()
java.lang.String getTopology()
void setUserData(java.lang.String dataName, java.lang.Object data)
dataName
- name for the user datadata
- user datajava.lang.Object getUserData(java.lang.String dataName)
dataName
- name for the user databoolean containsUserData()
void addNodeData(java.lang.String dataName, java.lang.String dataType, int dataLength) throws NetworkDataException
dataName
- data name for the user datadataType
- data type for the user data ("INTEGER","NUMBER", "VARCHAR2")dataLength
- data length for "VARCHAR2"NetworkDataException
void addLinkData(java.lang.String dataName, java.lang.String dataType, int dataLength) throws NetworkDataException
dataName
- data name for the user datadataType
- data type for the user data ("INTEGER","NUMBER", "VARCHAR2")dataLength
- data length for "VARCHAR2"NetworkDataException
void addPathData(java.lang.String dataName, java.lang.String dataType, int dataLength) throws NetworkDataException
dataName
- data name for the user datadataType
- data type for the user data ("INTEGER","NUMBER", "VARCHAR2")dataLength
- data length for "VARCHAR2"NetworkDataException
void addSubPathData(java.lang.String dataName, java.lang.String dataType, int dataLength) throws NetworkDataException
dataName
- data name for the user datadataType
- data type for the user data ("INTEGER","NUMBER", "VARCHAR2")dataLength
- data length for "VARCHAR2"NetworkDataException
void deleteNodeData(java.lang.String dataName)
dataName
- data name for the user datavoid deleteLinkData(java.lang.String dataName)
dataName
- data name for the user datavoid deletePathData(java.lang.String dataName)
dataName
- data name for the user datavoid deleteSubPathData(java.lang.String dataName)
dataName
- data name for the user dataUserDataMetadata getUserDataMetadata()
HistoryMetadata getHistoryMetadata()
void setPathLinkTableName(java.lang.String name)
boolean isVersioned()
java.lang.String getPartitionBlobTableName(boolean addSchemaName)
addSchemaName
- prefix schema name or notvoid setPartitionBlobTableName(java.lang.String partitionBlobTableName)
partitionBlobTableName
- the partition BLOB table namejava.lang.String getDefaultPartitionBlobTableName()
java.lang.String getComponentTableName(boolean addSchemaName)
addSchemaName
- prefix schema name or notvoid setComponentTableName(java.lang.String componentTableName)
componentTableName
-java.lang.String getDefaultComponentTableName()
java.lang.String getNodeLevelTableName(boolean addSchemaName)
addSchemaName
- prefix schema name or notvoid setNodeLevelTableName(java.lang.String nodeLevelTableName)
nodeLevelTableName
- the node level table namejava.lang.String getNodeTableName(boolean addSchemaName)
addSchemaName
- prefix owner schema name or notjava.lang.String getLinkTableName(boolean addSchemaName)
addSchemaName
- prefix owner schema name or notjava.lang.String getPathTableName(boolean addSchemaName)
addSchemaName
- prefix owner schema name or notjava.lang.String getSubPathTableName(boolean addSchemaName)
addSchemaName
- prefix owner schema name or notjava.lang.String getLRSTableName(boolean addSchemaName)
addSchemaName
- prefix owner schema name or notjava.lang.String getNodeGeomColumn()
java.lang.String getLinkGeomColumn()
java.lang.String getPathGeomColumn()
java.lang.String getSubPathGeomColumn()
java.lang.String getLRSGeomColumn()
FeatureMetadata getFeatureMetadata()
boolean isGeodetic()
void setGeodetic(boolean flag)
flag
- true if a geodetic spatial network, false otherwise