ContentsIndexHome
PreviousUpNext
IElement Members

The following tables list the members exposed by IElement.

 
Name 
Description 
 
Return value for ordinals in erroneous cases. This value might be returned when invoking e.g. the getOrdinal() member-method. 
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.
 
 
Returns a reference to a new IElement with the same content.
 
 
Closes and invalidates this IElement
 
copy 
Copies the content of the source IElement to this IElement.
 
 
Returns the integer label of this IElement. Does only apply to IElements associated with subsets of Integers.
 
 
Returns the string label of this IElement. Does only apply to IElements not associated with subsets of Integers.
 
 
Returns the ordinal position in the associated set of this IElement. In case of an error, the constant OrdinalUndefined is returned.
 
 
Returns whether this IElement is set to the empty Element (i.e. '' in the AIMMS language).
 
 
Returns 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.
 
 
Assigns the specified integer label to this IElement without checking, as opposed to its counterparts setIntLabel and check_setIntLabel.
This function may cause an error at a later stage if the label is not in the set and this IElement was used to assign some value into an IData object.
 
 
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.
This function may cause an error at a later stage if the label is not in the Set and the element is added as a position or value in some IData.
 
 
Sets this IElement to the empty Element (i.e. '' in the AIMMS language). 
 
Assigns the specified integer label to this IElement. This method does only apply to IElements associated with a subset of Integers.
 
 
Assigns the specified string label to this IElement. This method does not apply to IElements associated with a subset of Integers. A RuntimeException is raised if the label does not exist in the root set.
 
 
Assigns the specified position in the set associated with this IElement to this IElement. A RuntimeException is raised if the ordinal position does not exist in the set.