asposediagram.api

Class DataConnectionCollection

DataConnection collection.

Property Getters/Setters Summary
methodgetCount()
Gets the number of elements actually contained in the collection.
methodgetNextID()
method
setNextID(value)
           The next available ID for new connections.
methodget(index)
Gets the element at the specified index.
 
Method Summary
methodadd(dataConnection)
Add the dataConnection in the collection.
methodclear()
Removes all elements from collection.
methodgetDataConnection(ID)
Gets the element at the specified ID.
methodisExist(index)
Is exist item in the collection.
methoditerator()
Supports a simple iteration over a nongeneric collection.
methodremove(dataConnection)
Remove the dataConnection from the collection.
 

    • Property Getters/Setters Detail

      • getNextID/setNextID : long 

        long getNextID() / setNextID(value)
        
        The next available ID for new connections.
      • getCount : int 

        int getCount()
        
        Gets the number of elements actually contained in the collection.
    • Method Detail

      • add

        int add(dataConnection)
        Add the dataConnection in the collection.
        Parameters:
        dataConnection: DataConnection -
        Returns:
      • remove

         remove(dataConnection)
        Remove the dataConnection from the collection.
        Parameters:
        dataConnection: DataConnection -
      • getDataConnection

        DataConnection getDataConnection(ID)
        Gets the element at the specified ID.
        Parameters:
        ID: long - ID of DataConnectionlong.
        Returns:
        DataConnection DataConnection.
      • iterator

        Iterator iterator()
        Supports a simple iteration over a nongeneric collection.
        Returns:
      • isExist

        boolean isExist(index)
        Is exist item in the collection.
        Parameters:
        index: int - index of element.
        Returns:
      • clear

         clear()
        Removes all elements from collection.