DataConnectionCollection

Inheritance: java.lang.Object, com.aspose.diagram.Collection

public class DataConnectionCollection extends Collection

DataConnection collection.

Methods

Method Description
add(DataConnection dataConnection) Add the dataConnection in the collection.
clear() Removes all elements from collection.
equals(Object arg0)
get(int index) Gets the element at the specified index.
getClass()
getCount() Gets the number of elements actually contained in the collection.
getDataConnection(long ID) Gets the element at the specified ID.
getNextID() The next available ID for new connections.
hashCode()
isExist(int index) Is exist item in the collection.
iterator() Supports a simple iteration over a nongeneric collection.
notify()
notifyAll()
remove(DataConnection dataConnection) Remove the dataConnection from the collection.
setNextID(long value) For the description of this property, please see {@link DataConnectionCollection#(getNextID() & 0xFFFFFFFFL)}
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

add(DataConnection dataConnection)

public int add(DataConnection dataConnection)

Add the dataConnection in the collection.

Parameters:

Parameter Type Description
dataConnection DataConnection

Returns: int -

clear()

public void clear()

Removes all elements from collection.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

get(int index)

public DataConnection get(int index)

Gets the element at the specified index.

Parameters:

Parameter Type Description
index int

Returns: DataConnection -

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCount()

public int getCount()

Gets the number of elements actually contained in the collection.

Returns: int

getDataConnection(long ID)

public DataConnection getDataConnection(long ID)

Gets the element at the specified ID.

Parameters:

Parameter Type Description
ID long ID of DataConnectionUInt32.

Returns: DataConnection - DataConnection DataConnection.

getNextID()

public long getNextID()

The next available ID for new connections.

Returns: long

hashCode()

public native int hashCode()

Returns: int

isExist(int index)

public boolean isExist(int index)

Is exist item in the collection.

Parameters:

Parameter Type Description
index int index of element.

Returns: boolean -

iterator()

public Iterator iterator()

Supports a simple iteration over a nongeneric collection.

Returns: java.util.Iterator -

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

remove(DataConnection dataConnection)

public void remove(DataConnection dataConnection)

Remove the dataConnection from the collection.

Parameters:

Parameter Type Description
dataConnection DataConnection

setNextID(long value)

public void setNextID(long value)

For the description of this property, please see {@link DataConnectionCollection#(getNextID() & 0xFFFFFFFFL)}

Parameters:

Parameter Type Description
value long

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int