Skip navigation links

Oracle® Spatial Java API Reference
11g Release 1 (11.1)

B28401-02


oracle.spatial.network
Interface UserDataIO


public interface UserDataIO

This interface defines methods for users to read and write user defined data from and to the database. User defined data can be associated with a metadata, a network, a node, a link, and a path. The setUserData() and getUserData() methods are used to set and get the user defined data from all network elements. The type of user data is java.lang.Object


Method Summary
 void readUserData(java.sql.Connection conn, Network network)
          Reads user defined data from the database and associates it with the network.
 void writeUserData(java.sql.Connection conn, Network network)
          Writes the user defined data to the database.

 

Method Detail

readUserData

void readUserData(java.sql.Connection conn,
                  Network network)
Reads user defined data from the database and associates it with the network.
Parameters:
conn - the database connection
network - the network with which the user's data is to be associated

writeUserData

void writeUserData(java.sql.Connection conn,
                   Network network)
Writes the user defined data to the database.
Parameters:
conn - the database connection
network - the network with which the user defined data is to be associated.

Skip navigation links

Oracle® Spatial Java API Reference
11g Release 1 (11.1)

B28401-02


Copyright © 2007, 2008, Oracle. All Rights Reserved.