com.waveset.adapter
Class ServerAffinity

java.lang.Object
  extended bycom.waveset.util.AbstractXmlObject
      extended bycom.waveset.object.GenericObject
          extended bycom.waveset.adapter.ServerAffinity
All Implemented Interfaces:
java.util.Map, javax.naming.Referenceable, XmlObject

public class ServerAffinity
extends GenericObject

ServerAffinity is a bean which which holds an IdM server name, a host username, and the host user's encrypted password.


Nested Class Summary
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Field Summary
 
Fields inherited from class com.waveset.object.GenericObject
ATT_ID, ATT_NAME, ATT_TYPE, ATT_VALUE, code_id, EL_ATTRIBUTE, EL_FORMREF, ELEMENT, FLATTEN_ALL, FLATTEN_NOTHING, FLATTEN_OBJECT_LISTS, SYN_MISMATCHED_NAMES, SYN_MISPLACED_DOT, SYN_MISPLACED_LBRACKET, SYN_NAMED_LIST, SYN_NO_DOT, SYN_NO_GEO, SYN_NO_INDEX, SYN_NO_LIST, SYN_NO_NAME, SYN_NO_TARGET
 
Fields inherited from class com.waveset.util.AbstractXmlObject
_trace
 
Constructor Summary
ServerAffinity()
           
ServerAffinity(java.lang.String xml)
           
 
Method Summary
 java.lang.String getAdmin()
          Returns the host admin username
 EncryptedData getPassword()
          Returns the encrypted password
 java.lang.String getServer()
          Returns the name of the IdM server which can use this affinity
 void setAdmin(java.lang.String admin)
          Sets the host admin username
 void setPassword(EncryptedData pass)
          Set the encrypted password.
 void setServer(java.lang.String server)
          Set the name of the IdM server which can use this affinity
 
Methods inherited from class com.waveset.object.GenericObject
add, addAlias, assimilate, assimilateModifications, browse, clear, clearAliases, containsKey, containsValue, dumpMap, entrySet, filter, findObject, findObject, get, getAttributes, getBoolean, getDate, getDate, getDate, getElementName, getEncrypted, getForm, getFormRef, getId, getInt, getList, getListOfStrings, getLocal, getLong, getName, getObject, getObjectCreateIfNull, getString, isEmpty, keySet, main, parseXml, parseXml, println, put, put, put, put, putAll, putLocal, remove, removeLocal, setAliases, setAttributes, setForm, setFormRef, setId, setIgnoreForm, setName, size, sort, sort, test1, test2, test3, toDisplayString, toDisplayString, toMap, toMap, toMap, toMap, toMap, toMap, toString, toXml, toXmlNoForm, toXmlNormalized, toXmlNormalized, toXmlNormalized, trace, trace, values
 
Methods inherited from class com.waveset.util.AbstractXmlObject
addXmlHeader, cloneObject, dump, dumpFile, getReference, println, setTrace, toIdentityString, toVerboseString, toVerboseString, toXml, toXml, toXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

ServerAffinity

public ServerAffinity(java.lang.String xml)
               throws WavesetException

ServerAffinity

public ServerAffinity()
               throws WavesetException
Method Detail

getAdmin

public java.lang.String getAdmin()
Returns the host admin username

Returns:
returns the host admin username

getPassword

public EncryptedData getPassword()
Returns the encrypted password


getServer

public java.lang.String getServer()
Returns the name of the IdM server which can use this affinity

Returns:
returns the name of the IdM server which can use this affinity

setAdmin

public void setAdmin(java.lang.String admin)
Sets the host admin username

Parameters:
admin - the username

setPassword

public void setPassword(EncryptedData pass)
Set the encrypted password.

Parameters:
pass - the password

setServer

public void setServer(java.lang.String server)
Set the name of the IdM server which can use this affinity

Parameters:
server - the name of the IdM server which can use this affinity