|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.controllerModel.mapping.MappingToken<T>
T - type of the command container for this tokenpublic abstract class MappingToken<T extends ICommandContainer>
A token that can be used during a mapping process of a command.
Subclasses may extends this token to provide additional methods during the mapping process.
The specialty of a token is it's data map which can store and retrieve arbitrary data. Through this mechanism, mappers can exchange data.
| Constructor Summary | |
|---|---|
protected |
MappingToken(T container)
Creates a new mapping token. |
| Method Summary | |
|---|---|
T |
getContainer()
Gets the container for which this token was created. |
com.kuka.common.params.IParameterSet |
getDefaultParams()
Returns the default parameters that should fill up unset parameters of every mapped command. |
Object |
getObjectToMap()
Gets the object which should be mapped next. |
Object |
getOriginalCommand()
Returns the original command from which the mapping process started. |
Object |
getTag(String key)
|
void |
setObjectToMap(Object obj)
Sets the next object which should be mapped. |
void |
setTag(String key,
Object tag)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected MappingToken(T container)
container - The container for which this token is created.| Method Detail |
|---|
public Object getTag(String key)
getTag in interface com.kuka.common.ITaggablekey - The key. null is not allowed.
public void setTag(String key,
Object tag)
setTag in interface com.kuka.common.ITaggablekey - The key. null is not allowed.tag - The value. null is not allowed.public T getContainer()
public Object getObjectToMap()
public final void setObjectToMap(Object obj)
obj - The object which should be mapped.public Object getOriginalCommand()
public com.kuka.common.params.IParameterSet getDefaultParams()
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||