public class

EnumTriStateIndicator

extends Object
java.lang.Object
   ↳ com.microstrategy.utils.EnumTriStateIndicator

Class Overview

Internal housekeeping. Maintains whether a given state is true, false or may be.

Summary

Fields
public static final EnumTriStateIndicator MAYBE
public static final EnumTriStateIndicator NO
public static final EnumTriStateIndicator YES
Public Methods
static EnumTriStateIndicator mapFromBoolean(boolean state)
static EnumTriStateIndicator mapFromInt(int enumValue)
returns an enumeration object based on the enumeration value.
boolean mapToBoolean()
Boolean mapToBooleanObject()
int mapToInt()
Returns an integer value for the enumeration
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final EnumTriStateIndicator MAYBE

public static final EnumTriStateIndicator NO

public static final EnumTriStateIndicator YES

Public Methods

public static EnumTriStateIndicator mapFromBoolean (boolean state)

public static EnumTriStateIndicator mapFromInt (int enumValue)

returns an enumeration object based on the enumeration value.

Parameters
enumValue The enumeration value that will be mapped to an enumeration object.
Returns
  • An enumeration object based on the enumeration value.

public boolean mapToBoolean ()

Returns
  • whether the tri-state value is 0

public Boolean mapToBooleanObject ()

Returns
  • whether the tri-state value is 0

public int mapToInt ()

Returns an integer value for the enumeration

Returns
  • an integer value for the enumeration