|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FlowKind>
edu.cmu.sei.aadl.aadl2.FlowKind
public enum FlowKind
A representation of the literals of the enumeration 'Flow Kind', and utility methods for working with them.
Aadl2Package.getFlowKind()
Enum Constant Summary | |
---|---|
PATH
The 'Path' literal object |
|
SINK
The 'Sink' literal object |
|
SOURCE
The 'Source' literal object |
Field Summary | |
---|---|
static int |
PATH_VALUE
The 'Path' literal value |
static int |
SINK_VALUE
The 'Sink' literal value |
static int |
SOURCE_VALUE
The 'Source' literal value |
static java.util.List<FlowKind> |
VALUES
A public read-only list of all the 'Flow Kind' enumerators |
Method Summary | |
---|---|
static FlowKind |
get(int value)
Returns the 'Flow Kind' literal with the specified integer value |
static FlowKind |
get(java.lang.String literal)
Returns the 'Flow Kind' literal with the specified literal value |
static FlowKind |
getByName(java.lang.String name)
Returns the 'Flow Kind' 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 FlowKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static FlowKind[] |
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 FlowKind SOURCE
SOURCE_VALUE
public static final FlowKind PATH
PATH_VALUE
public static final FlowKind SINK
SINK_VALUE
Field Detail |
---|
public static final int SOURCE_VALUE
If the meaning of 'Source' literal object isn't clear, there really should be more of a description here...
SOURCE
,
Constant Field Valuespublic static final int PATH_VALUE
If the meaning of 'Path' literal object isn't clear, there really should be more of a description here...
PATH
,
Constant Field Valuespublic static final int SINK_VALUE
If the meaning of 'Sink' literal object isn't clear, there really should be more of a description here...
SINK
,
Constant Field Valuespublic static final java.util.List<FlowKind> VALUES
Method Detail |
---|
public static FlowKind[] values()
for (FlowKind c : FlowKind.values()) System.out.println(c);
public static FlowKind valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static FlowKind get(java.lang.String literal)
public static FlowKind getByName(java.lang.String name)
public static FlowKind get(int value)
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<FlowKind>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |