fr.ifremer.wao.ui.data
Enum SynthesisId

java.lang.Object
  extended by java.lang.Enum<SynthesisId>
      extended by fr.ifremer.wao.ui.data.SynthesisId
All Implemented Interfaces:
Serializable, Comparable<SynthesisId>

public enum SynthesisId
extends Enum<SynthesisId>

SynthesisID$ Created: 9 févr. 2010

Version:
$Revision: 355 $ Mise a jour: $Date: 2010-02-16 14:56:07 +0100 (mar., 16 févr. 2010) $ par : $Author$
Author:
fdesbois

Enum Constant Summary
GRAPH_BOARDING
           
GRAPH_SAMPLING
           
IND_ALLEGRO_REACTIVITY
           
IND_CONTACT_STATE
           
IND_NON_COMPLIANCE_BOARDING
           
 
Method Summary
 String getBlockId()
           
static SynthesisId getSynthesisID(String blockId)
           
static SynthesisId valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SynthesisId[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GRAPH_SAMPLING

public static final SynthesisId GRAPH_SAMPLING

GRAPH_BOARDING

public static final SynthesisId GRAPH_BOARDING

IND_NON_COMPLIANCE_BOARDING

public static final SynthesisId IND_NON_COMPLIANCE_BOARDING

IND_CONTACT_STATE

public static final SynthesisId IND_CONTACT_STATE

IND_ALLEGRO_REACTIVITY

public static final SynthesisId IND_ALLEGRO_REACTIVITY
Method Detail

values

public static SynthesisId[] 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 (SynthesisId c : SynthesisId.values())
    System.out.println(c);

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

valueOf

public static SynthesisId 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

getBlockId

public String getBlockId()

getSynthesisID

public static SynthesisId getSynthesisID(String blockId)


Copyright © 2009-2010 Ifremer. All Rights Reserved.