com.aspose.diagram

Class DataConnectionCollection

  • java.lang.Object
    • Collection
      • com.aspose.diagram.DataConnectionCollection
  • All Implemented Interfaces:
    java.lang.Iterable
    public class DataConnectionCollection 
    extends Collection

DataConnection collection.

Property Getters/Setters Summary
intgetCount()
Gets the number of elements actually contained in the collection.
longgetNextID()
void
setNextID(longvalue)
The next available ID for new connections.
DataConnectionget(intindex)
Gets the element at the specified index.
 
Method Summary
intadd(DataConnection dataConnection)
Add the dataConnection in the collection.
voidclear()
Removes all elements from collection.
DataConnectiongetDataConnection(longID)
Gets the element at the specified ID.
booleanisExist(intindex)
Is exist item in the collection.
java.util.Iteratoriterator()
Supports a simple iteration over a nongeneric collection.
voidremove(DataConnection dataConnection)
Remove the dataConnection from the collection.
 

    • Property Getters/Setters Detail

      • getNextID/setNextID

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

        public int getCount()
        
        Gets the number of elements actually contained in the collection.
      • get

        public DataConnection get(int index)
        
        Gets the element at the specified index.
        Parameters:
        index -
        Returns:
    • Method Detail

      • add

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

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

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

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

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

        public void clear()
        Removes all elements from collection.