Package kieker.model.system.model
Class AssemblyComponent
java.lang.Object
kieker.model.system.model.AssemblyComponent
- All Implemented Interfaces:
ISystemModelElement
- Direct Known Subclasses:
RootAssemblyComponent
public class AssemblyComponent extends java.lang.Object implements ISystemModelElement
- Since:
- 1.1
-
Constructor Summary
Constructors Constructor Description AssemblyComponent(int id, java.lang.String name, ComponentType type)Creates a new instance of this class using the given parameters. -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object obj)intgetId()java.lang.StringgetIdentifier()Returns a textual identifier for this object (e.g., its name).java.lang.StringgetName()ComponentTypegetType()inthashCode()booleanisRootComponent()Denotes whether this assembly component is a root component.java.lang.StringtoString()
-
Constructor Details
-
AssemblyComponent
Creates a new instance of this class using the given parameters.- Parameters:
id- The ID of this assembly component.name- The name of this component.type- The type of this component.
-
-
Method Details
-
getId
public final int getId() -
getName
public final java.lang.String getName() -
getType
-
toString
public final java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equalsin classjava.lang.Object
-
isRootComponent
public boolean isRootComponent()Denotes whether this assembly component is a root component.- Returns:
- See above
-
getIdentifier
public java.lang.String getIdentifier()Description copied from interface:ISystemModelElementReturns a textual identifier for this object (e.g., its name).- Specified by:
getIdentifierin interfaceISystemModelElement- Returns:
- See above
-