|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.data.RangeValueBoundType
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 |
public static final int _noBound
The range is not bound to a value.
public static final int _exclusive
The range does not include the value.
public static final int _inclusive
The range includes the value.
public static final RangeValueBoundType noBound
A RangeValueBoundType
that specifies the range is not bound to a value.
public static final RangeValueBoundType exclusive
A RangeValueBoundType
that specifies the range does not include the value.
public static final RangeValueBoundType inclusive
A RangeValueBoundType
that specifies the range includes the value.
Method Detail |
public static final RangeValueBoundType from_int(int i)
Returns the RangeValueBoundType
corresponding to the specified value.
i
- The int
value of the desired RangeValueBoundType
object.
RangeValueBoundType
corresponding to the specified value.
java.lang.IndexOutOfBoundsException
- This is thrown if the specified int
does
not correspond to a bound type.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.
sVal
- The String
value of the desired RangeValueBoundType
object.
RangeValueBoundType
corresponding to the specified type.
java.lang.IndexOutOfBoundsException
- This is thrown if the specified String
does not
correspond to a valid bound type.public java.lang.String toString()
Returns the String
value of this RangeValueBoundType
object.
String
value of this RangeValueBoundType
object.public int value()
Returns the int
value of this RangeValueBoundType
object.
int
value of this RangeValueBoundType
object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |