public static enum RangeTableClassModel.LastRange extends Enum<RangeTableClassModel.LastRange>
enumeration lists all the definitions for a range upper bound (bounded, unbounded).
The possible last range types are:
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:simpleType name="LastRangeType"> <xs:restriction base="xs:string"> <xs:enumeration value="bounded" /> <xs:enumeration value="unbounded" /> </xs:restriction> </xs:simpleType>
| Enum Constant and Description |
|---|
BOUNDED
Range is left and right bounded.
|
UNBOUNDED
Range is only left bounded.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
String |
getPrettyName() |
static RangeTableClassModel.LastRange |
getValueTypeFromId(int id) |
static RangeTableClassModel.LastRange |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RangeTableClassModel.LastRange[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RangeTableClassModel.LastRange BOUNDED
public static final RangeTableClassModel.LastRange UNBOUNDED
public static RangeTableClassModel.LastRange[] values()
for (RangeTableClassModel.LastRange c : RangeTableClassModel.LastRange.values()) System.out.println(c);
public static RangeTableClassModel.LastRange valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getId()
public String getPrettyName()
public static final RangeTableClassModel.LastRange getValueTypeFromId(int id)