|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Attachments
An interface for general Attachments
Nested Class Summary | |
---|---|
static class |
Attachments.Key
A key for attachements |
Method Summary | ||
---|---|---|
|
addAttachment(Class<T> clazz,
T value)
Add arbitrary attachment |
|
Object |
addAttachment(String name,
Object value)
Add arbitrary attachment with name |
|
|
addAttachment(String name,
T value,
Class<T> clazz)
Add arbitrary attachment with name |
|
|
getAttachment(Class<T> clazz)
Get an arbitrary attachment |
|
Object |
getAttachment(String name)
Get an arbitrary attachment |
|
|
getAttachment(String name,
Class<T> clazz)
Get an arbitrary attachment |
|
Collection<Attachments.Key> |
getAttachmentKeys()
Get attachment keys |
|
|
removeAttachment(Class<T> clazz)
Remove arbitrary attachments |
|
|
removeAttachment(Class<T> clazz,
String name)
Remove arbitrary attachments |
|
Object |
removeAttachment(String name)
Remove arbitrary attachments |
Method Detail |
---|
Collection<Attachments.Key> getAttachmentKeys()
<T> T addAttachment(Class<T> clazz, T value)
<T> T addAttachment(String name, T value, Class<T> clazz)
Object addAttachment(String name, Object value)
<T> T getAttachment(Class<T> clazz)
<T> T getAttachment(String name, Class<T> clazz)
Object getAttachment(String name)
<T> T removeAttachment(Class<T> clazz)
<T> T removeAttachment(Class<T> clazz, String name)
Object removeAttachment(String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |