Package kieker.model.system.model
Class Operation
java.lang.Object
kieker.model.system.model.Operation
This class represents an operation within the trace analysis tool. It
consists of the component type and a signature.
- Since:
- 1.1
- Author:
- Andre van Hoorn
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe ID for the root operation. -
Constructor Summary
ConstructorsConstructorDescriptionOperation(int id, ComponentType componentType, Signature signature) Creates a new instance of this class using the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionbooleanTwo Operation objects are equal if their ids are equal.final ComponentTypeDelivers the component type of the operation.final intgetId()Delivers the ID of the operation.final SignatureDelivers the signature of the operation.inthashCode()toString()
-
Field Details
-
ROOT_OPERATION_ID
public static final int ROOT_OPERATION_IDThe ID for the root operation.- See Also:
-
-
Constructor Details
-
Operation
Creates a new instance of this class using the given parameters.- Parameters:
id- The ID of this operation.componentType- The type of the component of this operation.signature- The signature of this operation.
-
-
Method Details
-
getId
public final int getId()Delivers the ID of the operation.- Returns:
- The ID.
-
getComponentType
Delivers the component type of the operation.- Returns:
- The component type.
-
getSignature
Delivers the signature of the operation.- Returns:
- The signature.
-
equals
Two Operation objects are equal if their ids are equal. -
hashCode
public int hashCode() -
toString
-