com.smg.persistwork.utilscerca
Enum TipusRestriccio

java.lang.Object
  extended by java.lang.Enum<TipusRestriccio>
      extended by com.smg.persistwork.utilscerca.TipusRestriccio
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TipusRestriccio>

public enum TipusRestriccio
extends java.lang.Enum<TipusRestriccio>

Enum per al tipus de restricció

Version:
1.0
Author:
Sergio Maeso

Enum Constant Summary
DIFERENT
           
DINTREUNSVALORS
           
FORAUNSVALORS
           
IGUAL
           
IGUALMAJORQUE
           
IGUALMENORQUE
           
MAJORQUE
           
MENORQUE
           
NONUL
           
NUL
           
 
Method Summary
static TipusRestriccio valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TipusRestriccio[] 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

IGUAL

public static final TipusRestriccio IGUAL

DIFERENT

public static final TipusRestriccio DIFERENT

NUL

public static final TipusRestriccio NUL

NONUL

public static final TipusRestriccio NONUL

MAJORQUE

public static final TipusRestriccio MAJORQUE

MENORQUE

public static final TipusRestriccio MENORQUE

IGUALMENORQUE

public static final TipusRestriccio IGUALMENORQUE

IGUALMAJORQUE

public static final TipusRestriccio IGUALMAJORQUE

DINTREUNSVALORS

public static final TipusRestriccio DINTREUNSVALORS

FORAUNSVALORS

public static final TipusRestriccio FORAUNSVALORS
Method Detail

values

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

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

valueOf

public static TipusRestriccio 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
java.lang.NullPointerException - if the argument is null