com.neeve.server.mon
Enum SrvMonAppStoreBindingState

java.lang.Object
  extended by java.lang.Enum<SrvMonAppStoreBindingState>
      extended by com.neeve.server.mon.SrvMonAppStoreBindingState
All Implemented Interfaces:
Serializable, Comparable<SrvMonAppStoreBindingState>

@Generated(value="com.neeve.adm.AdmEnumeration",
           date="Wed Mar 28 10:54:31 EDT 2018")
public enum SrvMonAppStoreBindingState
extends Enum<SrvMonAppStoreBindingState>

Enumerates possible store binding states.


Enum Constant Summary
Closed
          Indicates that the store has closed.
Failed
          Indicates that the store has failed.
Open
          Indicates that the store is open.
Opening
          Indicates that the store is opening.
Unknown
          Indicates that the store is an unkown or invalid state.
 
Field Summary
static SrvMonAppStoreBindingState[] EMPTY_ARRAY
          A preallocated empty array used to avoid garbage when returning empty arrays.
 int val
           
static List<SrvMonAppStoreBindingState> VALUES
          A zero garbage alternative to values().
 
Method Summary
static SrvMonAppStoreBindingState fromCode(int code)
          Gets the value corresponding to the provided int 'code' value.
static SrvMonAppStoreBindingState fromCodeString(String value)
          Gets the value corresponding to the provided 'code' value in its String form.
static SrvMonAppStoreBindingState fromValue(int val)
          Gets the value corresponding to the provided 'constant' value.
 String getCodeString()
          Gets the code value for this enumeration as a String.
static Class<?> getCodeType()
          Gets the code type with which this enumeration was generated.
static boolean hasValue(int val)
          Tests if the passed in value represents a 'constant' in this enumeration.
static SrvMonAppStoreBindingState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SrvMonAppStoreBindingState[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Opening

public static final SrvMonAppStoreBindingState Opening
Indicates that the store is opening.


Open

public static final SrvMonAppStoreBindingState Open
Indicates that the store is open.


Failed

public static final SrvMonAppStoreBindingState Failed
Indicates that the store has failed.


Closed

public static final SrvMonAppStoreBindingState Closed
Indicates that the store has closed.


Unknown

public static final SrvMonAppStoreBindingState Unknown
Indicates that the store is an unkown or invalid state.

Field Detail

VALUES

public static final List<SrvMonAppStoreBindingState> VALUES
A zero garbage alternative to values().


EMPTY_ARRAY

public static final SrvMonAppStoreBindingState[] EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays.


val

public final int val
Method Detail

values

public static SrvMonAppStoreBindingState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SrvMonAppStoreBindingState c : SrvMonAppStoreBindingState.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SrvMonAppStoreBindingState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

hasValue

public static final boolean hasValue(int val)
Tests if the passed in value represents a 'constant' in this enumeration.

Parameters:
val - The value to test for.
Returns:
true If this enumeration has the given 'constant' value.

fromValue

public static final SrvMonAppStoreBindingState fromValue(int val)
Gets the value corresponding to the provided 'constant' value.

Parameters:
val - The 'constant' value to look up.
Returns:
The value corresponding to the constant value
Throws:
IllegalArgumentException - if the provided code is not a valid code for this enum

fromCode

public static final SrvMonAppStoreBindingState fromCode(int code)
Gets the value corresponding to the provided int 'code' value.

Parameters:
code - The int 'code' value to look up.
Returns:
The enumeration value corresponding to the 'code' value
Throws:
IllegalArgumentException - if the provided code is not a valid code for this enum

fromCodeString

public static final SrvMonAppStoreBindingState fromCodeString(String value)
Gets the value corresponding to the provided 'code' value in its String form.

Parameters:
value - The String 'code' value to look up.
Returns:
The enumeration value corresponding to the String 'code' value
Throws:
IllegalArgumentException - if the provided code is not a valid code for this enum

getCodeType

public static final Class<?> getCodeType()
Gets the code type with which this enumeration was generated.

Returns:
The code type (Character.class, Integer.class, or String.class)

getCodeString

public final String getCodeString()
Gets the code value for this enumeration as a String.

Returns:
the code value for this enumeration as a String.


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.