|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.tractrac.clientmodule.details.Attachments
public class Attachments
Base class used for objects that can attach custom data.
| Constructor Summary | |
|---|---|
Attachments()
|
|
| Method Summary | ||
|---|---|---|
|
getAttachment(AttKey key)
Fetches custom data for this object. |
|
void |
setAttachment(AttKey key,
java.lang.Object obj)
Sets custom data for this object. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Attachments()
| Method Detail |
|---|
public <T> T getAttachment(AttKey key)
key - the attachment key.
public void setAttachment(AttKey key,
java.lang.Object obj)
key - the attachment key.obj - the custom data to attach.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||