|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.common.TaggableObject
public abstract class TaggableObject
Provides a tag based access to values associated with a specific object.
| Constructor Summary | |
|---|---|
protected |
TaggableObject()
Creates a new instance of a taggable object. |
| Method Summary | |
|---|---|
Object |
getTag(String key)
Gets the data stored under the given key. |
void |
setTag(String key,
Object value)
Stores data under the given key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected TaggableObject()
| Method Detail |
|---|
public Object getTag(String key)
ITaggableThis 'tag' can be used to save additional information about the object and retrieve it from the object.
getTag in interface ITaggablekey - The key. May not be null.
ITaggable.setTag(String, Object)
public void setTag(String key,
Object value)
ITaggableThis data can be retrieved later from the object through the getTag-method.
setTag in interface ITaggablekey - The key. May not be null.value - The value. May not be null.ITaggable.getTag(String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||