Kieker 1.12

kieker.tools.traceAnalysis.systemModel
Class Operation

java.lang.Object
  extended by kieker.tools.traceAnalysis.systemModel.Operation

public class Operation
extends java.lang.Object

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
static int ROOT_OPERATION_ID
          The ID for the root operation.
 
Constructor Summary
Operation(int id, ComponentType componentType, Signature signature)
          Creates a new instance of this class using the given parameters.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Two Operation objects are equal if their ids are equal.
 ComponentType getComponentType()
          Delivers the component type of the operation.
 int getId()
          Delivers the ID of the operation.
 Signature getSignature()
          Delivers the signature of the operation.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ROOT_OPERATION_ID

public static final int ROOT_OPERATION_ID
The ID for the root operation.

See Also:
Constant Field Values
Constructor Detail

Operation

public Operation(int id,
                 ComponentType componentType,
                 Signature signature)
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 Detail

getId

public final int getId()
Delivers the ID of the operation.

Returns:
The ID.

getComponentType

public final ComponentType getComponentType()
Delivers the component type of the operation.

Returns:
The component type.

getSignature

public final Signature getSignature()
Delivers the signature of the operation.

Returns:
The signature.

equals

public boolean equals(java.lang.Object obj)
Two Operation objects are equal if their ids are equal.

Overrides:
equals in class java.lang.Object
Parameters:
obj - The object to be compared for equality with this
Returns:
true if the two objects are equal.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Kieker 1.12

Copyright 2015 Kieker Project, http://kieker-monitoring.net