Class Operation

java.lang.Object
kieker.model.system.model.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 Details

    • ROOT_OPERATION_ID

      public static final int ROOT_OPERATION_ID
      The ID for the root operation.
      See Also:
  • Constructor Details

    • 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 Details

    • 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