net.sourceforge.nrl.parser.ast.constraints
Enum ICardinalityConstraint.QualifierEnum

java.lang.Object
  extended by java.lang.Enum<ICardinalityConstraint.QualifierEnum>
      extended by net.sourceforge.nrl.parser.ast.constraints.ICardinalityConstraint.QualifierEnum
All Implemented Interfaces:
Serializable, Comparable<ICardinalityConstraint.QualifierEnum>
Enclosing interface:
ICardinalityConstraint

public static enum ICardinalityConstraint.QualifierEnum
extends Enum<ICardinalityConstraint.QualifierEnum>


Enum Constant Summary
AT_LEAST
          The target must be at least as big as the number
AT_MOST
          The target must be at most equal to the number
EXACTLY
          The number must match exactly.
 
Method Summary
static ICardinalityConstraint.QualifierEnum valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ICardinalityConstraint.QualifierEnum[] values()
          Returns an array containing the constants of this enum type, in the order they're 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

EXACTLY

public static final ICardinalityConstraint.QualifierEnum EXACTLY
The number must match exactly.


AT_LEAST

public static final ICardinalityConstraint.QualifierEnum AT_LEAST
The target must be at least as big as the number


AT_MOST

public static final ICardinalityConstraint.QualifierEnum AT_MOST
The target must be at most equal to the number

Method Detail

values

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

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

valueOf

public static ICardinalityConstraint.QualifierEnum 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


Copyright © 2006-2010 Christian Nentwich and others