public static final class AggregationType.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_SET 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_ARRAY |
(package private) static int |
INT_BAG |
(package private) static int |
INT_RECORD |
(package private) static int |
INT_SEQUENCE |
(package private) static int |
INT_SET |
(package private) static int |
INT_TABLE |
static org.apache.xmlbeans.StringEnumAbstractBase.Table |
table |
| Modifier and Type | Method and Description |
|---|---|
static AggregationType.Enum |
forInt(int i)
Returns the enum value corresponding to an int, or null if none.
|
static AggregationType.Enum |
forString(java.lang.String s)
Returns the enum value for a string, or null if none.
|
static final int INT_SET
static final int INT_BAG
static final int INT_SEQUENCE
static final int INT_ARRAY
static final int INT_RECORD
static final int INT_TABLE
public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table
public static AggregationType.Enum forString(java.lang.String s)
public static AggregationType.Enum forInt(int i)
Copyright © 2015–2018 52north.org. All rights reserved.