com.kuka.common
Interface ITaggable

All Known Implementing Classes:
TaggableObject

public interface ITaggable

Represents an object that can be tagged by values associated with a specific tag object.

This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

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.
 

Method Detail

getTag

Object getTag(String key)
Gets the data stored under the given key.

This 'tag' can be used to save additional information about the object and retrieve it from the object.

Parameters:
key - The key. May not be null.
Returns:
The data stored under the given key or null if not found.
See Also:
setTag(String, Object)
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

setTag

void setTag(String key,
            Object value)
Stores data under the given key.

This data can be retrieved later from the object through the getTag-method.

Parameters:
key - The key. May not be null.
value - The value. May not be null.
See Also:
getTag(String)
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.


Copyright © 2019. All rights reserved.