argutia.logic.resolution
Enum Maillon.Etat

java.lang.Object
  extended by java.lang.Enum<Maillon.Etat>
      extended by argutia.logic.resolution.Maillon.Etat
All Implemented Interfaces:
Serializable, Comparable<Maillon.Etat>
Enclosing class:
Maillon<T>
public static enum Maillon.Etat
extends Enum<Maillon.Etat>

Un maillon est par défaut à l'état INCONNU. Il peut devenir SATISFAIT ou INSATISFAIT selon qu'on l'affecte à vrai ou faux lors de la résolution.

Enum Constant Summary
INCONNU
          Le maillon n'a pas encore été traité.
INSATISFAIT
          Le maillon est affecté à faux.
SATISFAIT
          Le maillon est affecté à vrai.
 
Method Summary
static Maillon.Etat valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Maillon.Etat[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INCONNU

public static final Maillon.Etat INCONNU
Le maillon n'a pas encore été traité.

INSATISFAIT

public static final Maillon.Etat INSATISFAIT
Le maillon est affecté à faux.

SATISFAIT

public static final Maillon.Etat SATISFAIT
Le maillon est affecté à vrai.

Method Detail

values

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

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

valueOf

public static Maillon.Etat 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
Argutia JavaDoc
23 décembre 2007