Enum ElementType
- java.lang.Object
-
- java.lang.Enum<ElementType>
-
- org.palladiosimulator.dataflow.confidentiality.pcm.querydsl.pCMDFDConstraintLanguage.ElementType
-
- All Implemented Interfaces:
Serializable
,Comparable<ElementType>
,Enumerator
public enum ElementType extends Enum<ElementType> implements Enumerator
A representation of the literals of the enumeration 'Element Type', and utility methods for working with them.- See Also:
PCMDFDConstraintLanguagePackage.getElementType()
- Generated class or method.
- EMF model class or method.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTION
The 'ACTION' literal object.DATACHANNEL
The 'DATACHANNEL' literal object.SEFF
The 'SEFF' literal object.STORE
The 'STORE' literal object.USER
The 'USER' literal object.USERACTION
The 'USERACTION' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
ACTION_VALUE
The 'ACTION' literal value.static int
DATACHANNEL_VALUE
The 'DATACHANNEL' literal value.static int
SEFF_VALUE
The 'SEFF' literal value.static int
STORE_VALUE
The 'STORE' literal value.static int
USER_VALUE
The 'USER' literal value.static int
USERACTION_VALUE
The 'USERACTION' literal value.static List<ElementType>
VALUES
A public read-only list of all the 'Element Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ElementType
get(int value)
Returns the 'Element Type' literal with the specified integer value.static ElementType
get(String literal)
Returns the 'Element Type' literal with the specified literal value.static ElementType
getByName(String name)
Returns the 'Element 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 ElementType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ElementType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SEFF
public static final ElementType SEFF
The 'SEFF' literal object.- See Also:
SEFF_VALUE
- Generated class or method.
- Ordered collection.
-
USERACTION
public static final ElementType USERACTION
The 'USERACTION' literal object.- See Also:
USERACTION_VALUE
- Generated class or method.
- Ordered collection.
-
STORE
public static final ElementType STORE
The 'STORE' literal object.- See Also:
STORE_VALUE
- Generated class or method.
- Ordered collection.
-
USER
public static final ElementType USER
The 'USER' literal object.- See Also:
USER_VALUE
- Generated class or method.
- Ordered collection.
-
DATACHANNEL
public static final ElementType DATACHANNEL
The 'DATACHANNEL' literal object.- See Also:
DATACHANNEL_VALUE
- Generated class or method.
- Ordered collection.
-
ACTION
public static final ElementType ACTION
The 'ACTION' literal object.- See Also:
ACTION_VALUE
- Generated class or method.
- Ordered collection.
-
-
Field Detail
-
SEFF_VALUE
public static final int SEFF_VALUE
The 'SEFF' literal value.- See Also:
SEFF
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
USERACTION_VALUE
public static final int USERACTION_VALUE
The 'USERACTION' literal value.- See Also:
USERACTION
, Constant Field Values- Generated class or method.
- EMF model class or method.
- literal="UserAction"
- Ordered collection.
-
STORE_VALUE
public static final int STORE_VALUE
The 'STORE' literal value.- See Also:
STORE
, Constant Field Values- Generated class or method.
- EMF model class or method.
- literal="Store"
- Ordered collection.
-
USER_VALUE
public static final int USER_VALUE
The 'USER' literal value.- See Also:
USER
, Constant Field Values- Generated class or method.
- EMF model class or method.
- literal="SystemUser"
- Ordered collection.
-
DATACHANNEL_VALUE
public static final int DATACHANNEL_VALUE
The 'DATACHANNEL' literal value.- See Also:
DATACHANNEL
, Constant Field Values- Generated class or method.
- EMF model class or method.
- literal="DataChannel"
- Ordered collection.
-
ACTION_VALUE
public static final int ACTION_VALUE
The 'ACTION' literal value.- See Also:
ACTION
, Constant Field Values- Generated class or method.
- EMF model class or method.
- literal="Action"
- Ordered collection.
-
VALUES
public static final List<ElementType> VALUES
A public read-only list of all the 'Element Type' enumerators.- Generated class or method.
-
-
Method Detail
-
values
public static ElementType[] 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 (ElementType c : ElementType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ElementType 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 nameNullPointerException
- if the argument is null
-
get
public static ElementType get(String literal)
Returns the 'Element Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
. - Generated class or method.
-
getByName
public static ElementType getByName(String name)
Returns the 'Element Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
. - Generated class or method.
-
get
public static ElementType get(int value)
Returns the 'Element Type' literal with the specified integer value.- Parameters:
value
- the integer value.- Returns:
- the matching enumerator or
null
. - Generated class or method.
-
getValue
public int getValue()
- Specified by:
getValue
in interfaceEnumerator
- Generated class or method.
-
getName
public String getName()
- Specified by:
getName
in interfaceEnumerator
- Generated class or method.
-
getLiteral
public String getLiteral()
- Specified by:
getLiteral
in interfaceEnumerator
- Generated class or method.
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<ElementType>
- Generated class or method.
-
-