com.ibm.etools.cobol.application.model.cobol
Class FormalParamType

java.lang.Object
  extended by org.eclipse.emf.common.util.AbstractEnumerator
      extended by com.ibm.etools.cobol.application.model.cobol.FormalParamType
All Implemented Interfaces:
java.io.Serializable, org.eclipse.emf.common.util.Enumerator

public final class FormalParamType
extends org.eclipse.emf.common.util.AbstractEnumerator

A representation of BY REFERENCE or BY VALUE clauses in the specification of parameters. This is a representation of the literals of the enumeration 'Formal Param Type', and utility methods for working with them

See Also:
COBOLPackage.getFormalParamType(), Serialized Form

Field Summary
static java.lang.String copyright
           
static int FORMAL_BY_REFERENCE
          The 'FORMAL BY REFERENCE' literal value.
static FormalParamType FORMAL_BY_REFERENCE_LITERAL
          The 'FORMAL BY REFERENCE' literal object.
static int FORMAL_BY_VALUE
          The 'FORMAL BY VALUE' literal value.
static FormalParamType FORMAL_BY_VALUE_LITERAL
          The 'FORMAL BY VALUE' literal object.
static java.util.List VALUES
          A public read-only list of all the 'Formal Param Type' enumerators.
 
Method Summary
static FormalParamType get(int value)
          Returns the 'Formal Param Type' literal with the specified integer value.
static FormalParamType get(java.lang.String literal)
          Returns the 'Formal Param Type' literal with the specified literal value.
static FormalParamType getByName(java.lang.String name)
          Returns the 'Formal Param Type' literal with the specified name.
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getLiteral, getName, getValue, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values

FORMAL_BY_REFERENCE

public static final int FORMAL_BY_REFERENCE
The 'FORMAL BY REFERENCE' literal value.

Represents the BY REFERENCE clause.

See Also:
FORMAL_BY_REFERENCE_LITERAL, Constant Field Values

FORMAL_BY_VALUE

public static final int FORMAL_BY_VALUE
The 'FORMAL BY VALUE' literal value.

Represents the BY VALUE clause.

See Also:
FORMAL_BY_VALUE_LITERAL, Constant Field Values

FORMAL_BY_REFERENCE_LITERAL

public static final FormalParamType FORMAL_BY_REFERENCE_LITERAL
The 'FORMAL BY REFERENCE' literal object.

See Also:
FORMAL_BY_REFERENCE

FORMAL_BY_VALUE_LITERAL

public static final FormalParamType FORMAL_BY_VALUE_LITERAL
The 'FORMAL BY VALUE' literal object.

See Also:
FORMAL_BY_VALUE

VALUES

public static final java.util.List VALUES
A public read-only list of all the 'Formal Param Type' enumerators.

Method Detail

get

public static FormalParamType get(java.lang.String literal)
Returns the 'Formal Param Type' literal with the specified literal value.


getByName

public static FormalParamType getByName(java.lang.String name)
Returns the 'Formal Param Type' literal with the specified name.


get

public static FormalParamType get(int value)
Returns the 'Formal Param Type' literal with the specified integer value.