public class ExecutionContainer extends java.lang.Object implements ISystemModelElement
Constructor and Description |
---|
ExecutionContainer(int id,
ExecutionContainer parent,
java.lang.String name)
Creates a new instance of this class using the given parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
addChildContainer(ExecutionContainer container)
This method adds a given container to the list of child containers.
|
boolean |
equals(java.lang.Object obj) |
java.util.Collection<ExecutionContainer> |
getChildContainers()
Delivers a collection containing the added child containers.
|
int |
getId()
Delivers the ID of the container.
|
java.lang.String |
getIdentifier()
Delivers the identifier (name) of this object.
|
java.lang.String |
getName()
Delivers the name of the container.
|
ExecutionContainer |
getParent()
Delivers the parent of the container.
|
int |
hashCode() |
boolean |
isRootContainer()
Returns whether this container is a root container.
|
public ExecutionContainer(int id, ExecutionContainer parent, java.lang.String name)
id
- The ID of this container.parent
- The parent of this container.name
- The name of this container.public final int getId()
public final java.lang.String getName()
public final ExecutionContainer getParent()
public final java.util.Collection<ExecutionContainer> getChildContainers()
public final void addChildContainer(ExecutionContainer container)
container
- The new child container.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public boolean isRootContainer()
public java.lang.String getIdentifier()
getIdentifier
in interface ISystemModelElement
Copyright 2017 Kieker Project, http://kieker-monitoring.net