org.eclipse.xsd
Class XSDDiagnosticSeverity

java.lang.Object
  |
  +--org.eclipse.emf.common.util.AbstractEnumerator
        |
        +--org.eclipse.xsd.XSDDiagnosticSeverity
All Implemented Interfaces:
org.eclipse.emf.common.util.Enumerator

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

A representation of the literals of the enumeration 'Diagnostic Severity'.

See Also:
XSDDiagnostic.getSeverity(), XSDPackage.getXSDDiagnosticSeverity()

Field Summary
static int ERROR
          The 'Error' literal value.
static XSDDiagnosticSeverity ERROR_LITERAL
          The 'Error' literal object.
static int FATAL
          The 'Fatal' literal value.
static XSDDiagnosticSeverity FATAL_LITERAL
          The 'Fatal' literal object.
static int INFORMATION
          The 'Information' literal value.
static XSDDiagnosticSeverity INFORMATION_LITERAL
          The 'Information' literal object.
static java.util.List VALUES
          A public read-only list of all the 'Diagnostic Severity' enumerators.
static int WARNING
          The 'Warning' literal value.
static XSDDiagnosticSeverity WARNING_LITERAL
          The 'Warning' literal object.
 
Method Summary
static XSDDiagnosticSeverity get(int value)
          Returns the 'Diagnostic Severity' literal with the specified value.
static XSDDiagnosticSeverity get(java.lang.String name)
          Returns the 'Diagnostic Severity' literal with the specified name.
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getName, getValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FATAL

public static final int FATAL
The 'Fatal' literal value.

This is used to indicate that the problem is really bad and that further processing is likely not possible.

See Also:
FATAL_LITERAL

ERROR

public static final int ERROR
The 'Error' literal value.

This is used to indicate that the problem is bad and that the schema is likely not suitable for use.

See Also:
ERROR_LITERAL

WARNING

public static final int WARNING
The 'Warning' literal value.

This is used to indicate that the problem is not too bad and that the schema is likely suitable for use.

See Also:
WARNING_LITERAL

INFORMATION

public static final int INFORMATION
The 'Information' literal value.

This is used to indicate that the problem is only potential and that the schema is very likely suitable for use.

See Also:
INFORMATION_LITERAL

FATAL_LITERAL

public static final XSDDiagnosticSeverity FATAL_LITERAL
The 'Fatal' literal object.

See Also:
FATAL

ERROR_LITERAL

public static final XSDDiagnosticSeverity ERROR_LITERAL
The 'Error' literal object.

See Also:
ERROR

WARNING_LITERAL

public static final XSDDiagnosticSeverity WARNING_LITERAL
The 'Warning' literal object.

See Also:
WARNING

INFORMATION_LITERAL

public static final XSDDiagnosticSeverity INFORMATION_LITERAL
The 'Information' literal object.

See Also:
INFORMATION

VALUES

public static final java.util.List VALUES
A public read-only list of all the 'Diagnostic Severity' enumerators.
Method Detail

get

public static XSDDiagnosticSeverity get(java.lang.String name)
Returns the 'Diagnostic Severity' literal with the specified name.

get

public static XSDDiagnosticSeverity get(int value)
Returns the 'Diagnostic Severity' literal with the specified value.

Copyright 2001-2003 IBM Corporation and others.
All Rights Reserved.