public static enum RangeTableClassModel.RangeBound extends Enum<RangeTableClassModel.RangeBound>
enumeration lists all the out range table class attributes (inclusive, exclusive).
The types are:
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:simpleType name="RangeBoundType"> <xs:restriction base="xs:string"> <xs:enumeration value="inclusive" /> <xs:enumeration value="exclusive" /> </xs:restriction> </xs:simpleType>
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
String |
getPrettyName() |
static RangeTableClassModel.RangeBound |
getValueTypeFromId(int id) |
static RangeTableClassModel.RangeBound |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RangeTableClassModel.RangeBound[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RangeTableClassModel.RangeBound INCLUSIVE
public static final RangeTableClassModel.RangeBound EXCLUSIVE
public static RangeTableClassModel.RangeBound[] values()
for (RangeTableClassModel.RangeBound c : RangeTableClassModel.RangeBound.values()) System.out.println(c);
public static RangeTableClassModel.RangeBound 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.RangeBound getValueTypeFromId(int id)