Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Generation Framework

org.eclipse.gmf.codegen.gmfgen
Enum GenSeverity

java.lang.Object
  extended by java.lang.Enum<
GenSeverity>
      extended by 
org.eclipse.gmf.codegen.gmfgen.GenSeverity
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable< GenSeverity>, org.eclipse.emf.common.util.Enumerator

public enum GenSeverity
extends java.lang.Enum< GenSeverity>
implements org.eclipse.emf.common.util.Enumerator

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

See Also:
GMFGenPackage.getGenSeverity()
** Generated **
Model:

Enum Constant Summary
ERROR_LITERAL
          The ' ERROR ' literal object
INFO_LITERAL
          The ' INFO ' literal object
WARNING_LITERAL
          The ' WARNING ' literal object
 
Field Summary
static int ERROR
          The ' ERROR ' literal value
static int INFO
          The ' INFO ' literal value
static java.util.List< GenSeverity> VALUES
          A public read-only list of all the ' Gen Severity ' enumerators
static int WARNING
          The ' WARNING ' literal value
 
Method Summary
static  GenSeverity get (int value)
          Returns the ' Gen Severity ' literal with the specified integer value
static  GenSeverity get (java.lang.String literal)
          Returns the ' Gen Severity ' literal with the specified literal value
static  GenSeverity getByName (java.lang.String name)
          Returns the ' Gen Severity ' literal with the specified name
 java.lang.String getLiteral ()
           
 java.lang.String getName ()
           
 int getValue ()
           
 java.lang.String toString ()
          Returns the literal value of the enumerator, which is its string representation
static  GenSeverity valueOf (java.lang.String name)
          Returns the enum constant of this type with the specified name.
static  GenSeverity[] values ()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INFO_LITERAL

public static final 
GenSeverity INFO_LITERAL
The ' INFO ' literal object.

See Also:
INFO
** Generated **
Ordered:

WARNING_LITERAL

public static final 
GenSeverity WARNING_LITERAL
The ' WARNING ' literal object.

See Also:
WARNING
** Generated **
Ordered:

ERROR_LITERAL

public static final 
GenSeverity ERROR_LITERAL
The ' ERROR ' literal object.

See Also:
ERROR
** Generated **
Ordered:
Field Detail

INFO

public static final int INFO
The ' INFO ' literal value.

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

See Also:
INFO_LITERAL, Constant Field Values
** Generated **
Ordered:
Model:

WARNING

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

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

See Also:
WARNING_LITERAL, Constant Field Values
** Generated **
Ordered:
Model:

ERROR

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

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

See Also:
ERROR_LITERAL, Constant Field Values
** Generated **
Ordered:
Model:

VALUES

public static final java.util.List<
GenSeverity> VALUES
A public read-only list of all the ' Gen Severity ' enumerators.

** Generated **
Method Detail

values

public static final 
GenSeverity[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(GenSeverity c : GenSeverity.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static 
GenSeverity valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

get

public static 
GenSeverity get(java.lang.String literal)
Returns the ' Gen Severity ' literal with the specified literal value.

** Generated **

getByName

public static 
GenSeverity getByName(java.lang.String name)
Returns the ' Gen Severity ' literal with the specified name.

** Generated **

get

public static 
GenSeverity get(int value)
Returns the ' Gen Severity ' literal with the specified integer value.

** Generated **

getValue

public int getValue()

Specified by:
getValue in interface org.eclipse.emf.common.util.Enumerator
** Generated **

getName

public java.lang.String getName()

Specified by:
getName in interface org.eclipse.emf.common.util.Enumerator
** Generated **

getLiteral

public java.lang.String getLiteral()

Specified by:
getLiteral in interface org.eclipse.emf.common.util.Enumerator
** Generated **

toString

public java.lang.String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class java.lang.Enum< GenSeverity>
** Generated **

Generation Framework

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire