Loading...
Searching...
No Matches
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.
 
int value ()
 Get the int value of this enumerated AttributeValue.
 

Static Public Member Functions

static AttributeValue lookup (int value)
 Lookup all AttributeValues.
 

Public Attributes

 LEVEL
 = 0, Level

 
 MARGINAL
 = 1, Marginal

 
 LOWER
 = 2, Lower

 
 UPPER
 = 3, Upper

 
 SCALE
 = 4, Scale

 
 MAX
 = 5, Max

 
 UNDEFINED_VAL
 >= 6, undefined datatype
 

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