Enum Class VariableCharacterisationType
java.lang.Object
java.lang.Enum<VariableCharacterisationType>
org.palladiosimulator.pcm.parameter.VariableCharacterisationType
- All Implemented Interfaces:
Serializable
,Comparable<VariableCharacterisationType>
,Constable
,Enumerator
public enum VariableCharacterisationType
extends Enum<VariableCharacterisationType>
implements Enumerator
A representation of the literals of the enumeration 'Variable Characterisation Type',
and utility methods for working with them.
The variable characterisation types determine the set of available meta-informations on variables. Possible values are STRUCTURE, NUMBER_OF_ELEMENTS, VALUE, BYTESIZE, and TYPE.
- See Also:
- Generated class or method.
- EMF model class or method.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe 'BYTESIZE' literal object.The 'NUMBER OF ELEMENTS' literal object.The 'STRUCTURE' literal object.The 'TYPE' literal object.The 'VALUE' literal object. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The 'BYTESIZE' literal value.static final String
static final int
The 'NUMBER OF ELEMENTS' literal value.static final int
The 'STRUCTURE' literal value.static final int
The 'TYPE' literal value.static final int
The 'VALUE' literal value.static final List<VariableCharacterisationType>
A public read-only list of all the 'Variable Characterisation Type' enumerators. -
Method Summary
Modifier and TypeMethodDescriptionstatic VariableCharacterisationType
get
(int value) Returns the 'Variable Characterisation Type' literal with the specified integer value.static VariableCharacterisationType
Returns the 'Variable Characterisation Type' literal with the specified literal value.static VariableCharacterisationType
Returns the 'Variable Characterisation Type' literal with the specified name.getName()
int
getValue()
toString()
Returns the literal value of the enumerator, which is its string representation.static VariableCharacterisationType
Returns the enum constant of this class with the specified name.static VariableCharacterisationType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STRUCTURE
The 'STRUCTURE' literal object. The structure characterisation type is used to describe the structure of the data. With structure we refer to performance relevant properties of data like for example whether an array is sorted, a tree is balanced, a collection is indexed, and so on.... The allowed set of value of the structure characterisation has to be specified by the component developer for a particular component.- See Also:
- Generated class or method.
- Ordered collection.
-
NUMBER_OF_ELEMENTS
The 'NUMBER OF ELEMENTS' literal object. The number of elements of a collection data type describe the amount of data objects contained in the collection.- See Also:
- Generated class or method.
- Ordered collection.
-
VALUE
The 'VALUE' literal object. The value characterisation can be used to specify the actual value of a parameter. It is only available for parameters having a primitive type. The value characterisation should be used with care as it increased the complexity of the resulting analysis model significantly. It should be only used in performance-critical cases.- See Also:
- Generated class or method.
- Ordered collection.
-
BYTESIZE
The 'BYTESIZE' literal object. The bytesize characterisation specifies the memory footprint of a data object.- See Also:
- Generated class or method.
- Ordered collection.
-
TYPE
The 'TYPE' literal object. The type characterisation specifies the actual data type of polymorphic data objects in cases where the actual type has an impact on performance. For example in a shape drawing application the actual shape of a geometric object has an impact on the performance as drawing a circle is much more time consuming than drawing a simple line.- See Also:
- Generated class or method.
- Ordered collection.
-
-
Field Details
-
copyright
- See Also:
- Generated class or method.
-
STRUCTURE_VALUE
public static final int STRUCTURE_VALUEThe 'STRUCTURE' literal value. The structure characterisation type is used to describe the structure of the data. With structure we refer to performance relevant properties of data like for example whether an array is sorted, a tree is balanced, a collection is indexed, and so on.... The allowed set of value of the structure characterisation has to be specified by the component developer for a particular component.- See Also:
- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
NUMBER_OF_ELEMENTS_VALUE
public static final int NUMBER_OF_ELEMENTS_VALUEThe 'NUMBER OF ELEMENTS' literal value. The number of elements of a collection data type describe the amount of data objects contained in the collection.- See Also:
- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
VALUE_VALUE
public static final int VALUE_VALUEThe 'VALUE' literal value. The value characterisation can be used to specify the actual value of a parameter. It is only available for parameters having a primitive type. The value characterisation should be used with care as it increased the complexity of the resulting analysis model significantly. It should be only used in performance-critical cases.- See Also:
- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
BYTESIZE_VALUE
public static final int BYTESIZE_VALUEThe 'BYTESIZE' literal value. The bytesize characterisation specifies the memory footprint of a data object.- See Also:
- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
TYPE_VALUE
public static final int TYPE_VALUEThe 'TYPE' literal value. The type characterisation specifies the actual data type of polymorphic data objects in cases where the actual type has an impact on performance. For example in a shape drawing application the actual shape of a geometric object has an impact on the performance as drawing a circle is much more time consuming than drawing a simple line.- See Also:
- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
VALUES
A public read-only list of all the 'Variable Characterisation Type' enumerators.- Generated class or method.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
get
Returns the 'Variable Characterisation Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
. - Generated class or method.
-
getByName
Returns the 'Variable Characterisation Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
. - Generated class or method.
-
get
Returns the 'Variable Characterisation 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
- Specified by:
getName
in interfaceEnumerator
- Generated class or method.
-
getLiteral
- Specified by:
getLiteral
in interfaceEnumerator
- Generated class or method.
-
toString
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<VariableCharacterisationType>
- Generated class or method.
-