com.crystaldecisions.sdk.occa.report.data
Class RangeValueBoundType

java.lang.Object
  extended bycom.crystaldecisions.sdk.occa.report.data.RangeValueBoundType

public final class RangeValueBoundType
extends java.lang.Object

This class contains constants that indicate the range bound; that is, how the bound on a range is treated.


Field Summary
static int _exclusive
           The range does not include the value.
static int _inclusive
           The range includes the value.
static int _noBound
           The range is not bound to a value.
static RangeValueBoundType exclusive
           A RangeValueBoundType that specifies the range does not include the value.
static RangeValueBoundType inclusive
           A RangeValueBoundType that specifies the range includes the value.
static RangeValueBoundType noBound
           A RangeValueBoundType that specifies the range is not bound to a value.
 
Method Summary
static RangeValueBoundType from_int(int i)
           Returns the RangeValueBoundType corresponding to the specified value.
static RangeValueBoundType from_string(java.lang.String sVal)
           Returns the RangeValueBoundType corresponding to the specified type.
 java.lang.String toString()
           Returns the String value of this RangeValueBoundType object.
 int value()
           Returns the int value of this RangeValueBoundType object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_noBound

public static final int _noBound

The range is not bound to a value.

See Also:
Constant Field Values

_exclusive

public static final int _exclusive

The range does not include the value.

See Also:
Constant Field Values

_inclusive

public static final int _inclusive

The range includes the value.

See Also:
Constant Field Values

noBound

public static final RangeValueBoundType noBound

A RangeValueBoundType that specifies the range is not bound to a value.


exclusive

public static final RangeValueBoundType exclusive

A RangeValueBoundType that specifies the range does not include the value.


inclusive

public static final RangeValueBoundType inclusive

A RangeValueBoundType that specifies the range includes the value.

Method Detail

from_int

public static final RangeValueBoundType from_int(int i)

Returns the RangeValueBoundType corresponding to the specified value.

Parameters:
i - The int value of the desired RangeValueBoundType object.
Returns:
The RangeValueBoundType corresponding to the specified value.
Throws:
java.lang.IndexOutOfBoundsException - This is thrown if the specified int does not correspond to a bound type.

from_string

public static final RangeValueBoundType from_string(java.lang.String sVal)

Returns the RangeValueBoundType corresponding to the specified type. Possible bound types are Unbounded, Exclusive, and Inclusive.

Parameters:
sVal - The String value of the desired RangeValueBoundType object.
Returns:
The RangeValueBoundType corresponding to the specified type.
Throws:
java.lang.IndexOutOfBoundsException - This is thrown if the specified String does not correspond to a valid bound type.

toString

public java.lang.String toString()

Returns the String value of this RangeValueBoundType object.

Returns:
The String value of this RangeValueBoundType object.

value

public int value()

Returns the int value of this RangeValueBoundType object.

Returns:
The int value of this RangeValueBoundType object.