Kieker 1.9

kieker.tools.traceAnalysis.systemModel
Class Operation

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

public class Operation
extends 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(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()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
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(Object obj)
Two Operation objects are equal if their ids are equal.

Overrides:
equals in class 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 Object

toString

public String toString()
Overrides:
toString in class Object

Kieker 1.9

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