public interface Attachable
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getAttachment(AttachmentKey<T> key)
Get the attached object for a given key
|
<T> boolean |
hasAttachment(AttachmentKey<T> key)
True if there is an attached object for a given key
|
<T> T |
putAttachment(AttachmentKey<T> key,
T value)
Attach an arbirtary object with this element.
|
<T> T |
removeAttachment(AttachmentKey<T> key)
Remove an attached object for a given key
|
<T> T putAttachment(AttachmentKey<T> key, T value)
<T> boolean hasAttachment(AttachmentKey<T> key)
<T> T getAttachment(AttachmentKey<T> key)
<T> T removeAttachment(AttachmentKey<T> key)
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.