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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.