com.testingtech.ttcn.tri
Class PTCAndRole
java.lang.Object
com.testingtech.ttcn.tri.PTCAndRole
- public class PTCAndRole
- extends java.lang.Object
Class to store the componentId and the role of the component as entry in the receive hashmap
- Author:
- ldte
Constructor Summary |
PTCAndRole(TriComponentId componentId,
java.lang.String role)
The constructor of the class |
Method Summary |
boolean |
equals(java.lang.Object niar)
|
TriComponentId |
getComponentId()
|
java.lang.String |
getRole()
|
int |
hashCode()
|
void |
setComponentId(TriComponentId componentId)
|
void |
setRole(java.lang.String role)
|
java.lang.String |
toString()
Returns a string in the format "componentId: " + the component, "Role: " and the role. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PTCAndRole
public PTCAndRole(TriComponentId componentId,
java.lang.String role)
- The constructor of the class
- Parameters:
componentId
- The componentId to storerole
- The role to store
hashCode
public int hashCode()
equals
public boolean equals(java.lang.Object niar)
getComponentId
public TriComponentId getComponentId()
- Returns:
- Returns the f_componentId.
setComponentId
public void setComponentId(TriComponentId componentId)
- Parameters:
componentId
- The f_componentId to set.
getRole
public java.lang.String getRole()
- Returns:
- Returns the f_Role.
setRole
public void setRole(java.lang.String role)
- Parameters:
role
- The f_Role to set.
toString
public java.lang.String toString()
- Returns a string in the format "componentId: " + the component, "Role: " and the role.
Submit a bug or feature
IPv6TestAdapter is a trademark or registered trademark of Testing Technologies IST GmbH in Germany and possibly in other countries.
(c) Copyright 2001-2005 Testing Technologies IST GmbH, Rosenthaler Str. 13, 10119 Berlin, Germany. All Rights Reserved.