Package tools.descartes.dlim
Enum Class ClockType
- All Implemented Interfaces:
Serializable
,Comparable<ClockType>
,Constable
,Enumerator
A representation of the literals of the enumeration '
Clock Type', and utility methods for working with them.
- 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 ConstantsEnum ConstantDescriptionThe 'Container Clock' literal object.The 'Loop Clock' literal object.The 'Root Clock' literal object.The 'Sequence Clock' literal object. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The 'Container Clock' literal value.static final int
The 'Loop Clock' literal value.static final int
The 'Root Clock' literal value.static final int
The 'Sequence Clock' literal value.A public read-only list of all the 'Clock Type' enumerators. -
Method Summary
Modifier and TypeMethodDescriptionstatic ClockType
get
(int value) Returns the 'Clock Type' literal with the specified integer value.static ClockType
Returns the 'Clock Type' literal with the specified literal value.static ClockType
Returns the 'Clock Type' literal with the specified name.getName()
int
getValue()
toString()
Returns the literal value of the enumerator, which is its string representation.static ClockType
Returns the enum constant of this class with the specified name.static ClockType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ROOT_CLOCK
The 'Root Clock' literal object.- See Also:
- Generated class or method.
- Ordered collection.
-
CONTAINER_CLOCK
The 'Container Clock' literal object.- See Also:
- Generated class or method.
- Ordered collection.
-
SEQUENCE_CLOCK
The 'Sequence Clock' literal object.- See Also:
- Generated class or method.
- Ordered collection.
-
LOOP_CLOCK
The 'Loop Clock' literal object.- See Also:
- Generated class or method.
- Ordered collection.
-
-
Field Details
-
ROOT_CLOCK_VALUE
public static final int ROOT_CLOCK_VALUEThe 'Root Clock' literal value.If the meaning of 'Root Clock' literal object isn't clear, there really should be more of a description here...
- See Also:
- Generated class or method.
- EMF model class or method.
- name="RootClock" literal="ROOTCLOCK"
- Ordered collection.
-
CONTAINER_CLOCK_VALUE
public static final int CONTAINER_CLOCK_VALUEThe 'Container Clock' literal value.If the meaning of 'Container Clock' literal object isn't clear, there really should be more of a description here...
- See Also:
- Generated class or method.
- EMF model class or method.
- name="ContainerClock" literal="CONTAINERCLOCK"
- Ordered collection.
-
SEQUENCE_CLOCK_VALUE
public static final int SEQUENCE_CLOCK_VALUEThe 'Sequence Clock' literal value.If the meaning of 'Sequence Clock' literal object isn't clear, there really should be more of a description here...
- See Also:
- Generated class or method.
- EMF model class or method.
- name="SequenceClock" literal="SEQCLOCK"
- Ordered collection.
-
LOOP_CLOCK_VALUE
public static final int LOOP_CLOCK_VALUEThe 'Loop Clock' literal value.If the meaning of 'Loop Clock' literal object isn't clear, there really should be more of a description here...
- See Also:
- Generated class or method.
- EMF model class or method.
- name="LoopClock" literal="LOOPCLOCK"
- Ordered collection.
-
VALUES
A public read-only list of all the 'Clock 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 'Clock Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
. - Generated class or method.
-
getByName
Returns the 'Clock Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
. - Generated class or method.
-
get
Returns the 'Clock 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.
-