|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DataRepresentation>
fr.tpt.aadl.annex.behavior.aadlba.DataRepresentation
public enum DataRepresentation
A representation of the literals of the enumeration 'Data Representation', and utility methods for working with them.
AadlBaPackage.getDataRepresentation()
Enum Constant Summary | |
---|---|
ARRAY
The 'Array' literal object |
|
BOOLEAN
The 'Boolean' literal object |
|
CHARACTER
The 'Character' literal object |
|
ENUM
The 'Enum' literal object |
|
FIXED
The 'Fixed' literal object |
|
FLOAT
The 'Float' literal object |
|
INTEGER
The 'Integer' literal object |
|
STRING
The 'String' literal object |
|
STRUCT
The 'Struct' literal object |
|
UNION
The 'Union' literal object |
|
UNKNOWN
The 'Unknown' literal object |
Field Summary | |
---|---|
static int |
ARRAY_VALUE
The 'Array' literal value |
static int |
BOOLEAN_VALUE
The 'Boolean' literal value |
static int |
CHARACTER_VALUE
The 'Character' literal value |
static int |
ENUM_VALUE
The 'Enum' literal value |
static int |
FIXED_VALUE
The 'Fixed' literal value |
static int |
FLOAT_VALUE
The 'Float' literal value |
static int |
INTEGER_VALUE
The 'Integer' literal value |
static int |
STRING_VALUE
The 'String' literal value |
static int |
STRUCT_VALUE
The 'Struct' literal value |
static int |
UNION_VALUE
The 'Union' literal value |
static int |
UNKNOWN_VALUE
The 'Unknown' literal value |
static java.util.List<DataRepresentation> |
VALUES
A public read-only list of all the 'Data Representation' enumerators |
Method Summary | |
---|---|
static DataRepresentation |
get(int value)
Returns the 'Data Representation' literal with the specified integer value |
static DataRepresentation |
get(java.lang.String literal)
Returns the 'Data Representation' literal with the specified literal value |
static DataRepresentation |
getByName(java.lang.String name)
Returns the 'Data Representation' 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 DataRepresentation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DataRepresentation[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DataRepresentation UNKNOWN
UNKNOWN_VALUE
public static final DataRepresentation ARRAY
ARRAY_VALUE
public static final DataRepresentation BOOLEAN
BOOLEAN_VALUE
public static final DataRepresentation CHARACTER
CHARACTER_VALUE
public static final DataRepresentation ENUM
ENUM_VALUE
public static final DataRepresentation FIXED
FIXED_VALUE
public static final DataRepresentation FLOAT
FLOAT_VALUE
public static final DataRepresentation INTEGER
INTEGER_VALUE
public static final DataRepresentation STRING
STRING_VALUE
public static final DataRepresentation STRUCT
STRUCT_VALUE
public static final DataRepresentation UNION
UNION_VALUE
Field Detail |
---|
public static final int UNKNOWN_VALUE
If the meaning of 'Unknown' literal object isn't clear, there really should be more of a description here...
UNKNOWN
,
Constant Field Valuespublic static final int ARRAY_VALUE
If the meaning of 'Array' literal object isn't clear, there really should be more of a description here...
ARRAY
,
Constant Field Valuespublic static final int BOOLEAN_VALUE
If the meaning of 'Boolean' literal object isn't clear, there really should be more of a description here...
BOOLEAN
,
Constant Field Valuespublic static final int CHARACTER_VALUE
If the meaning of 'Character' literal object isn't clear, there really should be more of a description here...
CHARACTER
,
Constant Field Valuespublic static final int ENUM_VALUE
If the meaning of 'Enum' literal object isn't clear, there really should be more of a description here...
ENUM
,
Constant Field Valuespublic static final int FIXED_VALUE
If the meaning of 'Fixed' literal object isn't clear, there really should be more of a description here...
FIXED
,
Constant Field Valuespublic static final int FLOAT_VALUE
If the meaning of 'Float' literal object isn't clear, there really should be more of a description here...
FLOAT
,
Constant Field Valuespublic static final int INTEGER_VALUE
If the meaning of 'Integer' literal object isn't clear, there really should be more of a description here...
INTEGER
,
Constant Field Valuespublic static final int STRING_VALUE
If the meaning of 'String' literal object isn't clear, there really should be more of a description here...
STRING
,
Constant Field Valuespublic static final int STRUCT_VALUE
If the meaning of 'Struct' literal object isn't clear, there really should be more of a description here...
STRUCT
,
Constant Field Valuespublic static final int UNION_VALUE
If the meaning of 'Union' literal object isn't clear, there really should be more of a description here...
UNION
,
Constant Field Valuespublic static final java.util.List<DataRepresentation> VALUES
Method Detail |
---|
public static DataRepresentation[] values()
for (DataRepresentation c : DataRepresentation.values()) System.out.println(c);
public static DataRepresentation 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 DataRepresentation get(java.lang.String literal)
public static DataRepresentation getByName(java.lang.String name)
public static DataRepresentation 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<DataRepresentation>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |