Loading...
Searching...
No Matches
com.gams.api.GAMSParameterRecord Class Reference

This is the representation of a single record of a GAMSParameter instance. More...

Inheritance diagram for com.gams.api.GAMSParameterRecord:
com.gams.api.GAMSSymbolRecord

Public Member Functions

double getValue ()
 Get the content of this GAMSParameterRecord instance.
 
void setValue (double value)
 Set the content of this GAMSParameterRecord instance.
 
- Public Member Functions inherited from com.gams.api.GAMSSymbolRecord
String[] getKeys ()
 Retrieve keys of this GAMSSymbolRecord instance.
 
String getKey (int index)
 Retrieve key of GAMSSymbolRecord on position index.
 
boolean equals (Object obj)
 Indicates whether some other object is "equal to" this one.
 
int hashCode ()
 Returns a hash code value for the object.
 
boolean isDisposed ()
 Inquire if this record has already been disposed.
 
void dispose ()
 Release external resources hold by non-java library.
 
boolean moveNext ()
 Iterate to next GAMSSymbolRecord of GAMSSymbol using the current criterion.
 
boolean movePrevious ()
 Iterate to previous GAMSSymbolRecord of GAMSSymbol using the current criterion.
 

Additional Inherited Members

- Protected Member Functions inherited from com.gams.api.GAMSSymbolRecord
 GAMSSymbolRecord (GAMSSymbol<?> symbol, long ptr)
 Create a new GAMSSymbolRecord instance.
 
 GAMSSymbolRecord (GAMSSymbolRecord record)
 Create a new GAMSSymbolRecord instance.
 
void finalize () throws Throwable
 Release resources used by non-java library.
 

Detailed Description

This is the representation of a single record of a GAMSParameter instance.

Member Function Documentation

◆ getValue()

double com.gams.api.GAMSParameterRecord.getValue ( )

Get the content of this GAMSParameterRecord instance.

Returns
the value
Exceptions
GAMSExceptionIf this GAMSDatabase instance has already been disposed therefore resources are no longer available.

◆ setValue()

void com.gams.api.GAMSParameterRecord.setValue ( double  value)

Set the content of this GAMSParameterRecord instance.

Parameters
valuethe value
Exceptions
GAMSExceptionIf this GAMSDatabase instance has already been disposed therefore resources are no longer available.