Package ooaofooa.datatypes
Enum ElementTypeConstants
- java.lang.Object
-
- java.lang.Enum<ElementTypeConstants>
-
- ooaofooa.datatypes.ElementTypeConstants
-
- All Implemented Interfaces:
io.ciera.runtime.summit.types.IXtumlType
,Serializable
,Comparable<ElementTypeConstants>
public enum ElementTypeConstants extends Enum<ElementTypeConstants> implements io.ciera.runtime.summit.types.IXtumlType
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ElementTypeConstants
deserialize(Object o)
boolean
equality(io.ciera.runtime.summit.types.IXtumlType value)
int
getValue()
String
serialize()
static ElementTypeConstants
valueOf(int value)
Returns the enum constant of this type with the specified name.static ElementTypeConstants
valueOf(String name)
Returns the enum constant of this type with the specified name.static ElementTypeConstants[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNINITIALIZED_ENUM
public static final ElementTypeConstants UNINITIALIZED_ENUM
-
ACTIVITY_EDGE
public static final ElementTypeConstants ACTIVITY_EDGE
-
ACTIVITY_NODE
public static final ElementTypeConstants ACTIVITY_NODE
-
ACTIVITY_PARTITION
public static final ElementTypeConstants ACTIVITY_PARTITION
-
ASSOCIATION
public static final ElementTypeConstants ASSOCIATION
-
CLASS
public static final ElementTypeConstants CLASS
-
COMPONENT
public static final ElementTypeConstants COMPONENT
-
COMPONENT_REFERENCE
public static final ElementTypeConstants COMPONENT_REFERENCE
-
CONSTANT
public static final ElementTypeConstants CONSTANT
-
DATATYPE
public static final ElementTypeConstants DATATYPE
-
DELEGATION
public static final ElementTypeConstants DELEGATION
-
EE
public static final ElementTypeConstants EE
-
EXCEPTION
public static final ElementTypeConstants EXCEPTION
-
FUNCTION
public static final ElementTypeConstants FUNCTION
-
IMPORTED_CLASS
public static final ElementTypeConstants IMPORTED_CLASS
-
INTERACTION_PARTICIPANT
public static final ElementTypeConstants INTERACTION_PARTICIPANT
-
INTERFACE
public static final ElementTypeConstants INTERFACE
-
INTERFACE_REFERENCE
public static final ElementTypeConstants INTERFACE_REFERENCE
-
MESSAGE
public static final ElementTypeConstants MESSAGE
-
PACKAGE
public static final ElementTypeConstants PACKAGE
-
PORT
public static final ElementTypeConstants PORT
-
SATISFACTION
public static final ElementTypeConstants SATISFACTION
-
TIME_SPAN
public static final ElementTypeConstants TIME_SPAN
-
TIMING_MARK
public static final ElementTypeConstants TIMING_MARK
-
USE_CASE_ASSOCIATION
public static final ElementTypeConstants USE_CASE_ASSOCIATION
-
-
Method Detail
-
values
public static ElementTypeConstants[] 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 (ElementTypeConstants c : ElementTypeConstants.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ElementTypeConstants 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
-
getValue
public int getValue()
-
equality
public boolean equality(io.ciera.runtime.summit.types.IXtumlType value) throws io.ciera.runtime.summit.exceptions.XtumlException
- Specified by:
equality
in interfaceio.ciera.runtime.summit.types.IXtumlType
- Throws:
io.ciera.runtime.summit.exceptions.XtumlException
-
serialize
public String serialize()
- Specified by:
serialize
in interfaceio.ciera.runtime.summit.types.IXtumlType
-
deserialize
public static ElementTypeConstants deserialize(Object o) throws io.ciera.runtime.summit.exceptions.XtumlException
- Throws:
io.ciera.runtime.summit.exceptions.XtumlException
-
valueOf
public static ElementTypeConstants valueOf(int value)
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:
value
- 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
-
-