com.kuka.nav.robot
Class GenericRequestTyped<C extends GenericRequestContainer>

java.lang.Object
  extended by com.kuka.nav.robot.GenericRequestTyped<C>
Type Parameters:
C - the type of the request container
All Implemented Interfaces:
Request<C>
Direct Known Subclasses:
GenericRequest

public class GenericRequestTyped<C extends GenericRequestContainer>
extends Object
implements Request<C>

Base class for all generic requests.


Constructor Summary
GenericRequestTyped(String id)
          Creates a new generic request for the given identifier.
 
Method Summary
 String getId()
          Returns the request identifier.
 GenericRequestTyped<C> setId(String id)
          Sets the request identifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericRequestTyped

public GenericRequestTyped(String id)
Creates a new generic request for the given identifier.

Parameters:
id - the request identifier
Method Detail

getId

public final String getId()
Returns the request identifier.

Returns:
the request identifier

setId

public final GenericRequestTyped<C> setId(String id)
Sets the request identifier.

Parameters:
id - the new request identifier
Returns:
this request


Copyright © 2019. All rights reserved.