ContentsIndexHome
PreviousUpNext
ISetData Interface

Represents the data of a set in the AIMMS model. 

Set data objects can be created using openSet on the ISession.

Java
public interface ISetData extends IData;
Name 
Description 
The following tables list the members exposed by ISetData. 
Public Methods
 
Name 
Description 
 
add 
Adds the specified element to this set and all of its supersets. 
 
Adds the specified labels to this set and all its supersets. Alternatively, the method setLabels can be used to replace the entire contents. 
 
Returns true if this set contains the specified element. 
 
Creates an IElement associated with the set of this ISetData.
 
 
Creates an ISetIterator to iterate through the data of this ISetData.

Also initializes the iterator: Moves the current position to before the beginning of the data; a subsequent next call will find the first element.  
 
Verifies that the underlying root set of the IElement is applicable on this set. The current value is not considered.
 
 
Removes the specified label from this set and all of its subsets. 
 
Inserts the specified labels into this set and all of its supersets. The set itself (and all its subsets) are emptied first as opposed to the appendLabels member method.