public static final class ThoroughfareNumberDocument.ThoroughfareNumber.NumberType.Enum
extends org.apache.xmlbeans.StringEnumAbstractBase
enum.toString(); // returns the string value of the enum enum.intValue(); // returns an int value, useful for switches // e.g., case Enum.INT_SINGLE Enum.forString(s); // returns the enum value for a string Enum.forInt(i); // returns the enum value for an intEnumeration objects are immutable singleton objects that can be compared using == object equality. They have no public constructor. See the constants defined within this class for all the valid values.
| Modifier and Type | Field and Description |
|---|---|
(package private) static int |
INT_RANGE |
(package private) static int |
INT_SINGLE |
static org.apache.xmlbeans.StringEnumAbstractBase.Table |
table |
| Modifier and Type | Method and Description |
|---|---|
static ThoroughfareNumberDocument.ThoroughfareNumber.NumberType.Enum |
forInt(int i)
Returns the enum value corresponding to an int, or null if none.
|
static ThoroughfareNumberDocument.ThoroughfareNumber.NumberType.Enum |
forString(java.lang.String s)
Returns the enum value for a string, or null if none.
|
static final int INT_SINGLE
static final int INT_RANGE
public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table
public static ThoroughfareNumberDocument.ThoroughfareNumber.NumberType.Enum forString(java.lang.String s)
public static ThoroughfareNumberDocument.ThoroughfareNumber.NumberType.Enum forInt(int i)
Copyright © 2015–2018 52north.org. All rights reserved.