|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ViewpointType>
org.eclipse.egf.model.ViewpointType
public enum ViewpointType
A representation of the literals of the enumeration 'Viewpoint Type', and utility methods for working with them.
ModelPackage.getViewpointType()
Enum Constant Summary | |
---|---|
CONTRACT
The 'CONTRACT' literal object |
|
MAPPING
The 'MAPPING' literal object |
|
PATTERN
The 'PATTERN' literal object |
Field Summary | |
---|---|
static int |
CONTRACT_VALUE
The 'CONTRACT' literal value |
static int |
MAPPING_VALUE
The 'MAPPING' literal value |
static int |
PATTERN_VALUE
The 'PATTERN' literal value |
static List<ViewpointType> |
VALUES
A public read-only list of all the 'Viewpoint Type' enumerators |
Method Summary | |
---|---|
static ViewpointType |
get(int value)
Returns the 'Viewpoint Type' literal with the specified integer value |
static ViewpointType |
get(String literal)
Returns the 'Viewpoint Type' literal with the specified literal value |
static ViewpointType |
getByName(String name)
Returns the 'Viewpoint Type' literal with the specified name |
String |
getLiteral()
|
String |
getName()
|
int |
getValue()
|
String |
toString()
Returns the literal value of the enumerator, which is its string representation |
static ViewpointType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ViewpointType[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ViewpointType CONTRACT
CONTRACT_VALUE
public static final ViewpointType PATTERN
PATTERN_VALUE
public static final ViewpointType MAPPING
MAPPING_VALUE
Field Detail |
---|
public static final int CONTRACT_VALUE
If the meaning of 'CONTRACT' literal object isn't clear, there really should be more of a description here...
CONTRACT
,
Constant Field Valuespublic static final int PATTERN_VALUE
If the meaning of 'PATTERN' literal object isn't clear, there really should be more of a description here...
PATTERN
,
Constant Field Valuespublic static final int MAPPING_VALUE
If the meaning of 'MAPPING' literal object isn't clear, there really should be more of a description here...
MAPPING
,
Constant Field Valuespublic static final List<ViewpointType> VALUES
Method Detail |
---|
public static ViewpointType[] values()
for (ViewpointType c : ViewpointType.values()) System.out.println(c);
public static ViewpointType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static ViewpointType get(String literal)
public static ViewpointType getByName(String name)
public static ViewpointType get(int value)
public int getValue()
public String getName()
public String getLiteral()
public String toString()
toString
in class Enum<ViewpointType>
|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
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.