if (location.href.indexOf('is-external=true') == -1) { parent.document.; } //-->
allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //-->
com.ibm.mfp.server.registration.external.model
Class PersistentAttributes
- java.lang.Object
- com.ibm.mfp.server.registration.external.model.PersistentAttributes
public class PersistentAttributes extends java.lang.Object
Container for custom attributes of a registered client.
The class constructor is reserved for internal use only. Adapters can call ClientData.getPublicAttributes() or ClientData.getProtectedAttributes() to get the public or protected attributes. Adapters can then call put() or delete() to modify the attributes. After making changes, call AdapterSecurityContext.storeClientRegistrationData() to store the changes.
Constructor Summary
Constructors Constructor and Description PersistentAttributes()Reserved for internal use only.
Method Summary
Methods Modifier and Type Method and Description void delete(java.lang.String key)Deletes the attribute identified by the given key.
boolean equals(java.lang.Object obj) java.lang.Object get(java.lang.String key)Gets the value of an attribute with the given key
java.lang.Object get(java.lang.String key, java.lang.Class valueType)Gets the value of an attribute with the given key
java.util.Set keys()Gets the set of attribute keys.
void put(java.lang.String key, java.lang.Object value)Associates the specified value with the specified attribute key.
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
PersistentAttributes
public PersistentAttributes()
Reserved for internal use only.
Method Detail
get
public java.lang.Object get(java.lang.String key, java.lang.Class valueType)
Gets the value of an attribute with the given key
- Parameters:
key - the attribute keyvalueType
- the type of the attribute value- Returns:
get
public java.lang.Object get(java.lang.String key)
Gets the value of an attribute with the given key
- Parameters:
key - the attribute key- Returns:
- the value of the attribute
put
public void put(java.lang.String key, java.lang.Object value)
Associates the specified value with the specified attribute key.
- Parameters:
key - the attribute keyvalue
- the attribute value
delete
public void delete(java.lang.String key)
Deletes the attribute identified by the given key.
- Parameters:
key - the key of the attribute
keys
public java.util.Set keys()
Gets the set of attribute keys.
- Returns:
- the set of keys
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in classjava.lang.Object
allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //-->
© Copyright IBM Corp. 2006, 2015. All Rights Reserved.