public class AugmentationsImpl extends Object implements Augmentations
Constructor and Description |
---|
AugmentationsImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
getItem(String key)
Get information identified by a key from the Augmentations structure
|
Enumeration |
keys()
Returns an enumeration of the keys in the Augmentations structure
|
Object |
putItem(String key,
Object item)
Add additional information identified by a key to the Augmentations structure.
|
void |
removeAllItems()
Remove all objects from the Augmentations structure.
|
Object |
removeItem(String key)
Remove additional info from the Augmentations structure
|
String |
toString() |
public Object putItem(String key, Object item)
putItem
in interface Augmentations
key
- Identifier, can't be null
item
- Additional informationnull
if it did not have one.public Object getItem(String key)
getItem
in interface Augmentations
key
- Identifier, can't be null
null
if the key is not mapped to any value.public Object removeItem(String key)
removeItem
in interface Augmentations
key
- Identifier, can't be null
null
if it did not have one.public Enumeration keys()
keys
in interface Augmentations
public void removeAllItems()
removeAllItems
in interface Augmentations
Copyright © 2017 JBoss by Red Hat. All rights reserved.