Package kieker.model.system.model
Class ComponentType
java.lang.Object
kieker.model.system.model.ComponentType
This class represents the type of a component within the trace analysis tool.
- Since:
- 1.1
- Author:
- Andre van Hoorn
-
Constructor Summary
ConstructorsConstructorDescriptionComponentType(int id, String fullqualifiedTypeName) Creates a new instance of this class using the given parameters.ComponentType(int id, String packageName, String typeName) // NOCS requests implementation of equals and hashCode in pairs// NOCS requests implementation of equals and hashCode in pairs* Creates a new instance of this class using the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionfinal OperationThis method adds a given operation to the list of available operations.booleanfinal StringDelivers the full qualified name of this type (the packages are separated with '.').final intgetId()Delivers the ID of the component type.final Collection<Operation>Delivers a collection containing the available operations within this component type.final StringDelivers the package name of this type.final StringDelivers the name of the type.inthashCode()
-
Constructor Details
-
ComponentType
// NOCS requests implementation of equals and hashCode in pairs// NOCS requests implementation of equals and hashCode in pairs* 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
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 Details
-
getId
public final int getId()Delivers the ID of the component type.- Returns:
- The ID.
-
getTypeName
Delivers the name of the type.- Returns:
- The type name.
-
getPackageName
Delivers the package name of this type.- Returns:
- The package name.
-
getFullQualifiedName
Delivers the full qualified name of this type (the packages are separated with '.').- Returns:
- The full qualified name.
-
getOperations
Delivers a collection containing the available operations within this component type.- Returns:
- The operations.
-
addOperation
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() -
equals
-