forge.program
Enum UnaryExpression.Op

java.lang.Object
  extended by java.lang.Enum<UnaryExpression.Op>
      extended by forge.program.UnaryExpression.Op
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<UnaryExpression.Op>
Enclosing class:
UnaryExpression

public static enum UnaryExpression.Op
extends java.lang.Enum<UnaryExpression.Op>


Enum Constant Summary
BIT_NOT
          bitwise negation
BOOL
          boolean value
CARDINALITY
          cardinality
CLOSURE
          translative closure
LONE
          lone multiplicity
NEG
          integer negation
NO
          no multiplicity
NOT
          boolean negation
ONE
          one multiplicity
SOME
          some multiplicity
SUM
          integer summation
 
Method Summary
 java.lang.String toString()
           
static UnaryExpression.Op valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static UnaryExpression.Op[] 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, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CLOSURE

public static final UnaryExpression.Op CLOSURE
translative closure


NO

public static final UnaryExpression.Op NO
no multiplicity


LONE

public static final UnaryExpression.Op LONE
lone multiplicity


ONE

public static final UnaryExpression.Op ONE
one multiplicity


SOME

public static final UnaryExpression.Op SOME
some multiplicity


BOOL

public static final UnaryExpression.Op BOOL
boolean value


NOT

public static final UnaryExpression.Op NOT
boolean negation


NEG

public static final UnaryExpression.Op NEG
integer negation


SUM

public static final UnaryExpression.Op SUM
integer summation


BIT_NOT

public static final UnaryExpression.Op BIT_NOT
bitwise negation


CARDINALITY

public static final UnaryExpression.Op CARDINALITY
cardinality

Method Detail

values

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

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

valueOf

public static UnaryExpression.Op 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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<UnaryExpression.Op>