org.jboss.soa.esb.listeners.config.xbeanmodel
Class FrequencyUnit.Enum
java.lang.Object
org.apache.xmlbeans.StringEnumAbstractBase
org.jboss.soa.esb.listeners.config.xbeanmodel.FrequencyUnit.Enum
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing interface:
- FrequencyUnit
public static final class FrequencyUnit.Enum
- extends org.apache.xmlbeans.StringEnumAbstractBase
Enumeration value class for org.jboss.soa.esb.listeners.config.xbeanmodel.FrequencyUnit.
These enum values can be used as follows:
enum.toString(); // returns the string value of the enum
enum.intValue(); // returns an int value, useful for switches
// e.g., case Enum.INT_SECONDS
Enum.forString(s); // returns the enum value for a string
Enum.forInt(i); // returns the enum value for an int
Enumeration 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.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class org.apache.xmlbeans.StringEnumAbstractBase |
org.apache.xmlbeans.StringEnumAbstractBase.Table |
Field Summary |
static org.apache.xmlbeans.StringEnumAbstractBase.Table |
table
|
Methods inherited from class org.apache.xmlbeans.StringEnumAbstractBase |
hashCode, intValue, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
table
public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table
forString
public static FrequencyUnit.Enum forString(java.lang.String s)
- Returns the enum value for a string, or null if none.
forInt
public static FrequencyUnit.Enum forInt(int i)
- Returns the enum value corresponding to an int, or null if none.