org.eclipse.stp.core.sca
Class OverrideOptions

java.lang.Object
  extended by AbstractEnumerator
      extended by org.eclipse.stp.core.sca.OverrideOptions

public final class OverrideOptions
extends AbstractEnumerator

A representation of the literals of the enumeration 'Override Options', and utility methods for working with them.

See Also:
SCAPackage.getOverrideOptions()

Field Summary
static java.lang.String copyright
           
static int MAY
          The 'May' literal value.
static OverrideOptions MAY_LITERAL
          The 'May' literal object.
static int MUST
          The 'Must' literal value.
static OverrideOptions MUST_LITERAL
          The 'Must' literal object.
static int NO
          The 'No' literal value.
static OverrideOptions NO_LITERAL
          The 'No' literal object.
static java.util.List VALUES
          A public read-only list of all the 'Override Options' enumerators.
 
Method Summary
static OverrideOptions get(int value)
          Returns the 'Override Options' literal with the specified value.
static OverrideOptions get(java.lang.String name)
          Returns the 'Override Options' literal with the specified name.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values

NO

public static final int NO
The 'No' literal value.

If the meaning of 'No' literal object isn't clear, there really should be more of a description here...

See Also:
NO_LITERAL, Constant Field Values

MAY

public static final int MAY
The 'May' literal value.

If the meaning of 'May' literal object isn't clear, there really should be more of a description here...

See Also:
MAY_LITERAL, Constant Field Values

MUST

public static final int MUST
The 'Must' literal value.

If the meaning of 'Must' literal object isn't clear, there really should be more of a description here...

See Also:
MUST_LITERAL, Constant Field Values

NO_LITERAL

public static final OverrideOptions NO_LITERAL
The 'No' literal object.

See Also:
NO

MAY_LITERAL

public static final OverrideOptions MAY_LITERAL
The 'May' literal object.

See Also:
MAY

MUST_LITERAL

public static final OverrideOptions MUST_LITERAL
The 'Must' literal object.

See Also:
MUST

VALUES

public static final java.util.List VALUES
A public read-only list of all the 'Override Options' enumerators.

Method Detail

get

public static OverrideOptions get(java.lang.String name)
Returns the 'Override Options' literal with the specified name.

Parameters:
name - The literal value of a particular OverrideOptions enum
Returns:
The OverrideOptions with the literal value name

get

public static OverrideOptions get(int value)
Returns the 'Override Options' literal with the specified value.

Parameters:
value - The value of a particular OverrideOptions enum
Returns:
The OverrideOptions with the value name