org.eclipse.xsd
Class XSDDiagnosticSeverity

java.lang.Object
  extended byorg.eclipse.emf.common.util.AbstractEnumerator
      extended byorg.eclipse.xsd.XSDDiagnosticSeverity
All Implemented Interfaces:
Enumerator

public final class XSDDiagnosticSeverity
extends 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 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 integer value
static XSDDiagnosticSeverity get(String literal)
          Returns the 'Diagnostic Severity' literal with the specified literal value
static XSDDiagnosticSeverity getByName(String name)
          Returns the 'Diagnostic Severity' 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
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, Constant Field Values

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, Constant Field Values

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, Constant Field Values

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, Constant Field Values

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 List VALUES
A public read-only list of all the 'Diagnostic Severity' enumerators.

Method Detail

get

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


getByName

public static XSDDiagnosticSeverity getByName(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 integer value.


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