|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.model.WindowsUserKey
This object represents a Windows user external key, including fields used to identify a Windows user in TWS external interfaces. Since a Windows user is identified by its name and by a referenced workstation, this class includes a name attribute and a reference to a FlowTargetKey object, to externally identify the referenced workstation.
WindowsUser
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
WindowsUserKey()
Creates an empty WindowsUserKey. |
|
WindowsUserKey(java.lang.String windowsUserName,
FlowTargetKey wksKey)
Creates a WindowsUserKey with the specified name and workstation key. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if all fields of this WindowsUserKey object are equal to those of the given one. |
java.lang.String |
getName()
Returns the windows user name. |
FlowTargetKey |
getWorkstationKey()
Returns the key of the workstation referenced by this windows user. |
int |
hashCode()
Returns a hash code for this WindowsUserKey object. |
static WindowsUserKey |
parseKey(java.lang.String key)
Parses data from the specified string and creates a new WindowsUserKey. |
void |
setName(java.lang.String value)
Sets the windows user name. |
void |
setWorkstationKey(FlowTargetKey wksKey)
Sets the key of the workstation referenced by this windows user. |
java.lang.String |
toString()
Returns a string representation of this WindowsUserKey object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public WindowsUserKey()
public WindowsUserKey(java.lang.String windowsUserName, FlowTargetKey wksKey)
windowsUserName
- The windows user name.wksKey
- The key of the workstation referenced by this windows user.Method Detail |
public static WindowsUserKey parseKey(java.lang.String key)
key
- The string containing key data.
public java.lang.String getName()
getName
in interface TWSKey
public FlowTargetKey getWorkstationKey()
public void setName(java.lang.String value)
value
- The windows user name.public void setWorkstationKey(FlowTargetKey wksKey)
wksKey
- The key of the workstation referenced by this windows user.public boolean equals(java.lang.Object object)
object
- The object to be compared with this one.
public int hashCode()
public java.lang.String toString()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |