Interface LODUserDataIO

  • All Known Implementing Classes:
    LODUserDataIOSDO

    public interface LODUserDataIO
    This interface defines methods to read and write user defined data from and to the database. Each user data category should have its own LODUserDataIO object.
    Since:
    11gR1
    • Method Detail

      • shareNetworkDataSource

        boolean shareNetworkDataSource()
      • getDataSource

        oracle.spatial.network.ds.IDataSource getDataSource()
      • setDataSource

        void setDataSource​(oracle.spatial.network.ds.IDataSource dataSource)
      • setNetworkMetadata

        void setNetworkMetadata​(NetworkMetadata metadata)
      • getCategoryId

        int getCategoryId()
      • setCategoryId

        void setCategoryId​(int categoryId)
      • readUserData

        UserData[] readUserData​(java.lang.String type,
                                long[] ids)
        Reads user defined data from the database.
        Parameters:
        type - user data type, which can take the following values:
        - UserDataMetadata.NODE_TABLE_TYPE
        - UserDataMetadata.LINK_TABLE_TYPE
        - UserDataMetadata.PATH_TABLE_TYPE
        - Feature Layer Name
        ids - the IDs of the objects for which the user data are read
        Returns:
        array of user data maps, each corresponding to an ID of the same index in the ID array.
      • writeUserData

        void writeUserData​(java.lang.String type,
                           long[] ids,
                           UserData[] userData)
        Writes user defined data to the database.
        Parameters:
        type - user data type, which can take the following values:
        - UserDataMetadata.NODE_TABLE_TYPE
        - UserDataMetadata.LINK_TABLE_TYPE
        - UserDataMetadata.PATH_TABLE_TYPE
        ids - the IDs of the objects for which the user data are written out
        userData - array of user data maps, each corresponding to an ID of the same index in the ID array.