Kieker 1.12

kieker.tools.traceAnalysis.systemModel
Class ComponentType

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

public class ComponentType
extends java.lang.Object

This class represents the type of a component within the trace analysis tool.

Since:
1.1
Author:
Andre van Hoorn

Constructor Summary
ComponentType(int id, java.lang.String fullqualifiedTypeName)
          Creates a new instance of this class using the given parameters.
ComponentType(int id, java.lang.String packageName, java.lang.String typeName)
          Creates a new instance of this class using the given parameters.
 
Method Summary
 Operation addOperation(Operation op)
          This method adds a given operation to the list of available operations.
 boolean equals(java.lang.Object obj)
           
 java.lang.String getFullQualifiedName()
          Delivers the full qualified name of this type (the packages are separated with '.').
 int getId()
          Delivers the ID of the component type.
 java.util.Collection<Operation> getOperations()
          Delivers a collection containing the available operations within this component type.
 java.lang.String getPackageName()
          Delivers the package name of this type.
 java.lang.String getTypeName()
          Delivers the name of the type.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentType

public ComponentType(int id,
                     java.lang.String packageName,
                     java.lang.String typeName)
Creates a new instance of this class using the given parameters.

Parameters:
id - The ID of the component type.
packageName - The package name.
typeName - The type name.

ComponentType

public ComponentType(int id,
                     java.lang.String fullqualifiedTypeName)
Creates a new instance of this class using the given parameters.

Parameters:
id - The ID of the component type.
fullqualifiedTypeName - The fully qualified name of the type, separated with '.'.
Method Detail

getId

public final int getId()
Delivers the ID of the component type.

Returns:
The ID.

getTypeName

public final java.lang.String getTypeName()
Delivers the name of the type.

Returns:
The type name.

getPackageName

public final java.lang.String getPackageName()
Delivers the package name of this type.

Returns:
The package name.

getFullQualifiedName

public final java.lang.String getFullQualifiedName()
Delivers the full qualified name of this type (the packages are separated with '.').

Returns:
The full qualified name.

getOperations

public final java.util.Collection<Operation> getOperations()
Delivers a collection containing the available operations within this component type.

Returns:
The operations.

addOperation

public final Operation addOperation(Operation op)
This method adds a given operation to the list of available operations.

Parameters:
op - The operation to be added.
Returns:
The added operation.

hashCode

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

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

Kieker 1.12

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