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

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

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

A representation of the system information that can be specified after the FROM keyword in an ACCEPT statement. This includes the literals of the enumeration 'System Info', and utility methods for working with them.

See Also:
COBOLPackage.getSystemInfo(), Serialized Form

Field Summary
static java.lang.String copyright
           
static int SYSINFO_DATE
          The 'SYSINFO DATE' literal value.
static SystemInfo SYSINFO_DATE_LITERAL
          The 'SYSINFO DATE' literal object.
static int SYSINFO_DATE_YYYYMMDD
          The 'SYSINFO DATE YYYYMMDD' literal value.
static SystemInfo SYSINFO_DATE_YYYYMMDD_LITERAL
          The 'SYSINFO DATE YYYYMMDD' literal object.
static int SYSINFO_DAY
          The 'SYSINFO DAY' literal value.
static SystemInfo SYSINFO_DAY_LITERAL
          The 'SYSINFO DAY' literal object.
static int SYSINFO_DAY_OF_WEEK
          The 'SYSINFO DAY OF WEEK' literal value.
static SystemInfo SYSINFO_DAY_OF_WEEK_LITERAL
          The 'SYSINFO DAY OF WEEK' literal object.
static int SYSINFO_DAY_YYYYDDD
          The 'SYSINFO DAY YYYYDDD' literal value.
static SystemInfo SYSINFO_DAY_YYYYDDD_LITERAL
          The 'SYSINFO DAY YYYYDDD' literal object.
static int SYSINFO_TIME
          The 'SYSINFO TIME' literal value.
static SystemInfo SYSINFO_TIME_LITERAL
          The 'SYSINFO TIME' literal object.
static java.util.List VALUES
          A public read-only list of all the 'System Info' enumerators.
 
Method Summary
static SystemInfo get(int value)
          Returns the 'System Info' literal with the specified integer value.
static SystemInfo get(java.lang.String literal)
          Returns the 'System Info' literal with the specified literal value.
static SystemInfo getByName(java.lang.String name)
          Returns the 'System Info' 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

SYSINFO_DATE

public static final int SYSINFO_DATE
The 'SYSINFO DATE' literal value.

Representation of DATE.

See Also:
SYSINFO_DATE_LITERAL, Constant Field Values

SYSINFO_DATE_YYYYMMDD

public static final int SYSINFO_DATE_YYYYMMDD
The 'SYSINFO DATE YYYYMMDD' literal value.

Representation of DATE YYYYMMDD

See Also:
SYSINFO_DATE_YYYYMMDD_LITERAL, Constant Field Values

SYSINFO_DAY

public static final int SYSINFO_DAY
The 'SYSINFO DAY' literal value.

Representation of DAY

See Also:
SYSINFO_DAY_LITERAL, Constant Field Values

SYSINFO_DAY_YYYYDDD

public static final int SYSINFO_DAY_YYYYDDD
The 'SYSINFO DAY YYYYDDD' literal value.

Reprsentation of DAY YYYYDDD

See Also:
SYSINFO_DAY_YYYYDDD_LITERAL, Constant Field Values

SYSINFO_DAY_OF_WEEK

public static final int SYSINFO_DAY_OF_WEEK
The 'SYSINFO DAY OF WEEK' literal value.

Representation of DAY-OF-WEEK

See Also:
SYSINFO_DAY_OF_WEEK_LITERAL, Constant Field Values

SYSINFO_TIME

public static final int SYSINFO_TIME
The 'SYSINFO TIME' literal value.

Representation of TIME

See Also:
SYSINFO_TIME_LITERAL, Constant Field Values

SYSINFO_DATE_LITERAL

public static final SystemInfo SYSINFO_DATE_LITERAL
The 'SYSINFO DATE' literal object.

See Also:
SYSINFO_DATE

SYSINFO_DATE_YYYYMMDD_LITERAL

public static final SystemInfo SYSINFO_DATE_YYYYMMDD_LITERAL
The 'SYSINFO DATE YYYYMMDD' literal object.

See Also:
SYSINFO_DATE_YYYYMMDD

SYSINFO_DAY_LITERAL

public static final SystemInfo SYSINFO_DAY_LITERAL
The 'SYSINFO DAY' literal object.

See Also:
SYSINFO_DAY

SYSINFO_DAY_YYYYDDD_LITERAL

public static final SystemInfo SYSINFO_DAY_YYYYDDD_LITERAL
The 'SYSINFO DAY YYYYDDD' literal object.

See Also:
SYSINFO_DAY_YYYYDDD

SYSINFO_DAY_OF_WEEK_LITERAL

public static final SystemInfo SYSINFO_DAY_OF_WEEK_LITERAL
The 'SYSINFO DAY OF WEEK' literal object.

See Also:
SYSINFO_DAY_OF_WEEK

SYSINFO_TIME_LITERAL

public static final SystemInfo SYSINFO_TIME_LITERAL
The 'SYSINFO TIME' literal object.

See Also:
SYSINFO_TIME

VALUES

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

Method Detail

get

public static SystemInfo get(java.lang.String literal)
Returns the 'System Info' literal with the specified literal value.


getByName

public static SystemInfo getByName(java.lang.String name)
Returns the 'System Info' literal with the specified name.


get

public static SystemInfo get(int value)
Returns the 'System Info' literal with the specified integer value.