public class PersistentAttributes
extends java.lang.Object
Constructor and Description |
---|
PersistentAttributes()
Reserved for internal use only.
|
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.
|
public PersistentAttributes()
public java.lang.Object get(java.lang.String key, java.lang.Class valueType)
key
- the attribute keyvalueType
- the type of the attribute valuepublic java.lang.Object get(java.lang.String key)
key
- the attribute keypublic void put(java.lang.String key, java.lang.Object value)
key
- the attribute keyvalue
- the attribute valuepublic void delete(java.lang.String key)
key
- the key of the attributepublic java.util.Set keys()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
© Copyright IBM Corp. 2006, 2015. All Rights Reserved.