org.fao.geonet.kernel.harvest
Enum Common.Status

java.lang.Object
  extended by java.lang.Enum<Common.Status>
      extended by org.fao.geonet.kernel.harvest.Common.Status
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Common.Status>
Enclosing class:
Common

public static enum Common.Status
extends java.lang.Enum<Common.Status>


Enum Constant Summary
ACTIVE
           
INACTIVE
           
 
Method Summary
static Common.Status parse(java.lang.String status)
           
 java.lang.String toString()
           
static Common.Status valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Common.Status[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ACTIVE

public static final Common.Status ACTIVE

INACTIVE

public static final Common.Status INACTIVE
Method Detail

values

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

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

valueOf

public static Common.Status valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<Common.Status>

parse

public static Common.Status parse(java.lang.String status)
                           throws jeeves.exceptions.BadParameterEx
Throws:
jeeves.exceptions.BadParameterEx