public class DefaultDriverData extends Object implements DriverData
| Constructor and Description | 
|---|
DefaultDriverData(Driver driver,
                 DeviceId deviceId)
Creates new driver data. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
MutableAnnotations | 
clear(String... keys)
Clears the specified keys or the all keys if none were specified. 
 | 
DeviceId | 
deviceId()
Returns the device identifier. 
 | 
Driver | 
driver()
Returns the parent device driver. 
 | 
Set<String> | 
keys()
Returns the set of keys for available annotations. 
 | 
MutableAnnotations | 
set(String key,
   String value)
Returns the value of the specified annotation. 
 | 
String | 
toString()  | 
String | 
value(String key)
Returns the value of the specified annotation. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbehaviourpublic Driver driver()
DriverDatadriver in interface DriverDatapublic DeviceId deviceId()
DriverDatadeviceId in interface DriverDatapublic MutableAnnotations set(String key, String value)
MutableAnnotationsset in interface MutableAnnotationskey - annotation keyvalue - annotation valuepublic MutableAnnotations clear(String... keys)
MutableAnnotationsclear in interface MutableAnnotationskeys - keys to be clearedpublic Set<String> keys()
Annotationskeys in interface Annotationspublic String value(String key)
Annotationsvalue in interface Annotationskey - annotation key