ContentsIndexHome
PreviousUpNext
IScalarData Interface

Represents a scalar value in the AIMMS model. This can be an actual scalar parameter/variable or an IDataView with dimension zero. 

Scalar objects can be created using openScalar on the ISession.

Java
public interface IScalarData extends IData;
Name 
Description 
The following tables list the members exposed by IScalarData. 
Private Methods
 
Name 
Description 
 
Sets the scalar data to the specified value. 
Public Methods
 
Name 
Description 
 
Returns the value of the scalar data. Applies to double valued scalars only.
 
 
Returns the value of the scalar data. Applies to element valued scalars only.
 
 
Returns the value of the scalar data. Applies to double valued scalars, and to element valued scalar of which the range is a subset of Integers.
 
 
Returns the value of the scalar data. Applies to string valued scalars, and to element valued scalar of which the range is not a subset of Integers.
 
 
Creates an IElement associated with the same set as the range of this scalar element valued data.