ContentsIndexHome
PreviousUpNext
IElement Members

The following tables list the members exposed by IElement.

Public Methods
 
Name 
Description 
 
add 
Adds the specified integer- or string label to the set and all of its super sets. 
 
Attempts to assign the specified integer label to this IElement. Returns true if the assignment succeeded, returns false when the integer label does not exist in the associated subset of Integers.  
 
Attempts to assign the specified string label to this IElement. Returns true if the assignment succeeded, returns false when the integer label does not exist in the associated set. Only applies to IElements not associated with a subset of integers.  
 
Attempts to assign the specified position in the associated set to this IElement. Returns true if the assignment succeeded, returns false when the ordinal position is invalid.  
 
Closes and invalidates this IElement.
 
 
Assigns the specified integer label to this IElement without checking, as opposed to its counterparts setIntLabel and check_setIntLabel.  
 
Assigns the specified string label to this IElement without checking whether this label is part of the associated set, as opposed to its counterparts setLabel and check_setLabel. This method does raise an RuntimeException if the label does not exist in the root set. This method does not apply to IElements over subsets of Integers.  
 
Returns a reference to a new IElement with the same content.  
 
Returns whether this IElement is set to the empty Element (i.e. '' in the AIMMS language).  
 
copy 
Copies the content of the source IElement to this IElement.  
 
Sets this IElement to the empty Element (i.e. '' in the AIMMS language).  
 
Name 
Description 
 
The integer label of this IElement. Does only apply to IElements associated with subsets of Integers.  
 
The string label of this IElement. Does only apply to IElements not associated with subsets of Integers.  
 
Position in the set associated with this IElement to this IElement. A RuntimeException is raised if assigning an ordinal position that does not exist in the set.  
 
Indicates whether this IElement is read only. Read only IElements cannot be set to another value or closed. This occurs e.g. when querying the IElement associated with a certain position in an IDataView object. The returned IElement object cannot be assigned a value, because that value should be assigned to the IDataView object instead.