EGF Engine
Release 0.1.0

org.eclipse.egf.common.generator
Enum EmfProjectType

java.lang.Object
  extended by java.lang.Enum<EmfProjectType>
      extended by org.eclipse.egf.common.generator.EmfProjectType
All Implemented Interfaces:
Serializable, Comparable<EmfProjectType>

public enum EmfProjectType
extends Enum<EmfProjectType>


Enum Constant Summary
EDIT_PROJECT_TYPE
          The project type constant representing an edit project.
EDITOR_PROJECT_TYPE
          The project type constant representing an editor project.
MODEL_PROJECT_TYPE
          The project type constant representing a model project.
TESTS_PROJECT_TYPE
          The project type constant representing a tests project.
 
Method Summary
 String getValue()
          Return the value for the current enumeration instance.
static EmfProjectType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EmfProjectType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MODEL_PROJECT_TYPE

public static final EmfProjectType MODEL_PROJECT_TYPE
The project type constant representing a model project.
This is the string "org.eclipse.emf.codegen.ecore.genmodel.generator.ModelProject".


EDIT_PROJECT_TYPE

public static final EmfProjectType EDIT_PROJECT_TYPE
The project type constant representing an edit project.
This is the string "org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject".


EDITOR_PROJECT_TYPE

public static final EmfProjectType EDITOR_PROJECT_TYPE
The project type constant representing an editor project.
This is the string "org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject".


TESTS_PROJECT_TYPE

public static final EmfProjectType TESTS_PROJECT_TYPE
The project type constant representing a tests project.
This is the string "org.eclipse.emf.codegen.ecore.genmodel.generator.TestsProject".

Method Detail

values

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

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

valueOf

public static EmfProjectType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getValue

public String getValue()
Return the value for the current enumeration instance.

Returns:

EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.