com.gams.api.GAMSGlobals.AttributeValue Enum Reference

Atttribute Values as enumerated integer. More...

Public Member Functions

boolean equals (AttributeValue another)
 Compare if the parameter is of the same AttributeValue. More...
 
int value ()
 Get the int value of this enumerated AttributeValue. More...
 

Static Public Member Functions

static AttributeValue lookup (int value)
 Lookup all AttributeValues. More...
 

Public Attributes

 LEVEL
 = 0, Level
More...
 
 MARGINAL
 = 1, Marginal
More...
 
 LOWER
 = 2, Lower
More...
 
 UPPER
 = 3, Upper
More...
 
 SCALE
 = 4, Scale
More...
 
 MAX
 = 5, Max
More...
 
 UNDEFINED_VAL
 >= 6, undefined datatype More...
 

Detailed Description

Atttribute Values as enumerated integer.

Member Function Documentation

◆ equals()

boolean com.gams.api.GAMSGlobals.AttributeValue.equals ( AttributeValue  another)

Compare if the parameter is of the same AttributeValue.

Parameters
anotherGAMS data type
Returns
true if the parameter is of the same data type, false otherwise.

◆ lookup()

static AttributeValue com.gams.api.GAMSGlobals.AttributeValue.lookup ( int  value)
static

Lookup all AttributeValues.

Parameters
valuea value to lookup
Returns
the enumerated AttributeValue, UNDEFINED_VAL if the specified value is not found.

◆ value()

int com.gams.api.GAMSGlobals.AttributeValue.value ( )

Get the int value of this enumerated AttributeValue.

Returns
the int value of the DataType

Member Data Documentation

◆ LEVEL

com.gams.api.GAMSGlobals.AttributeValue.LEVEL

= 0, Level

◆ LOWER

com.gams.api.GAMSGlobals.AttributeValue.LOWER

= 2, Lower

◆ MARGINAL

com.gams.api.GAMSGlobals.AttributeValue.MARGINAL

= 1, Marginal

◆ MAX

com.gams.api.GAMSGlobals.AttributeValue.MAX

= 5, Max

◆ SCALE

com.gams.api.GAMSGlobals.AttributeValue.SCALE

= 4, Scale

◆ UNDEFINED_VAL

com.gams.api.GAMSGlobals.AttributeValue.UNDEFINED_VAL

>= 6, undefined datatype

◆ UPPER

com.gams.api.GAMSGlobals.AttributeValue.UPPER

= 3, Upper