uk.ac.ebi.ep.mm
Enum MegaMapper.Constraint

java.lang.Object
  extended by java.lang.Enum<MegaMapper.Constraint>
      extended by uk.ac.ebi.ep.mm.MegaMapper.Constraint
All Implemented Interfaces:
Serializable, Comparable<MegaMapper.Constraint>
Enclosing interface:
MegaMapper

public static enum MegaMapper.Constraint
extends Enum<MegaMapper.Constraint>


Enum Constant Summary
CONTAINS
           
ENDS_WITH
           
EQUALS
           
STARTS_WITH
           
 
Method Summary
static MegaMapper.Constraint valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MegaMapper.Constraint[] 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

EQUALS

public static final MegaMapper.Constraint EQUALS

STARTS_WITH

public static final MegaMapper.Constraint STARTS_WITH

CONTAINS

public static final MegaMapper.Constraint CONTAINS

ENDS_WITH

public static final MegaMapper.Constraint ENDS_WITH
Method Detail

values

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

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

valueOf

public static MegaMapper.Constraint 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


Copyright © 2012 EMBL-EBI. All Rights Reserved.