|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ConForM.CoopnTools.CoKer.CoopnUser
CO-OPN users. Objects of this class encapsulate a user tool.
Constructor Summary | |
CoopnUser(java.lang.String toolName)
Simple constructor. |
|
CoopnUser(java.lang.String toolName,
CoopnTool tool)
Simple constructor. |
|
CoopnUser(java.lang.String userName,
java.lang.String hostName,
java.lang.String toolName)
Constructor. |
|
CoopnUser(java.lang.String userName,
java.lang.String hostName,
java.lang.String toolName,
CoopnTool tool)
Constructor. |
Method Summary | |
java.lang.Object |
clone()
Returns a clone user. |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getHostName()
Return the host name associated with this user. |
CoopnTool |
getTool()
Return the tool associated with this user, or null if no tools are associated. |
java.lang.String |
getToolName()
Return the tool name associated with this user. |
java.lang.String |
getUserName()
Return the user name associated with this user. |
int |
hashCode()
|
void |
setTool(CoopnTool tool)
Set the tool associated with this user, or null if no tools are associated. |
java.lang.String |
toString()
Returns a String that represents this user. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CoopnUser(java.lang.String toolName) throws java.lang.IllegalArgumentException
toolName
- the tool namejava.lang.IllegalArgumentException
- At least one of the argument is a null reference.public CoopnUser(java.lang.String userName, java.lang.String hostName, java.lang.String toolName) throws java.lang.IllegalArgumentException
userName
- the user namehostName
- the host nametoolName
- the tool namejava.lang.IllegalArgumentException
- At least one of the argument is a null reference.public CoopnUser(java.lang.String toolName, CoopnTool tool) throws java.lang.IllegalArgumentException
toolName
- the tool namejava.lang.IllegalArgumentException
- At least one of the argument is a null reference.public CoopnUser(java.lang.String userName, java.lang.String hostName, java.lang.String toolName, CoopnTool tool) throws java.lang.IllegalArgumentException
userName
- the user namehostName
- the host nametoolName
- the tool namejava.lang.IllegalArgumentException
- At least one of the argument is a null reference.Method Detail |
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getUserName()
public java.lang.String getHostName()
public java.lang.String getToolName()
public CoopnTool getTool()
public void setTool(CoopnTool tool)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |