public class ClientQA
extends java.lang.Object
QualifiedAgent. However, this ID will normally be ignored when
comparing agents. This is insufficient for client applications and components
that are based on such frameworks. In these cases the ID needs to be
respected when comparing agents. QualifiedAgent but its
equals(Object) and hashCode() additionally take the session
ID into account.| Modifier and Type | Field and Description |
|---|---|
protected QualifiedAgent |
agent
The wrapped
QualifiedAgent of this client agent. |
| Constructor and Description |
|---|
ClientQA(QualifiedAgent agent)
Creates a new client agent wrapping the designated
QualifiedAgent. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares to a
QualifiedAgent and/or to a ClientQA. |
QualifiedAgent |
getAgent()
Gets the wrapped
QualifiedAgent of this client agent. |
int |
hashCode() |
java.lang.String |
toString() |
protected final QualifiedAgent agent
QualifiedAgent of this client agent.public ClientQA(QualifiedAgent agent)
QualifiedAgent.agent - The qualified agent to be wrapped by a client agent.public QualifiedAgent getAgent()
QualifiedAgent of this client agent.QualifiedAgent of this client agent.public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
QualifiedAgent and/or to a ClientQA.
Equal is determined by comparing the
agents and additionally
the user session ID.equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object