public class DefaultDriverData extends java.lang.Object implements DriverData
| Constructor and Description | 
|---|
| DefaultDriverData(Driver driver,
                 DeviceId deviceId)Creates new driver data. | 
| Modifier and Type | Method and Description | 
|---|---|
| MutableAnnotations | clear(java.lang.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. | 
| java.util.Set<java.lang.String> | keys()Returns the set of keys for available annotations. | 
| MutableAnnotations | set(java.lang.String key,
   java.lang.String value)Returns the value of the specified annotation. | 
| java.lang.String | toString() | 
| java.lang.String | value(java.lang.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(java.lang.String key, java.lang.String value)
MutableAnnotationsset in interface MutableAnnotationskey - annotation keyvalue - annotation valuepublic MutableAnnotations clear(java.lang.String... keys)
MutableAnnotationsclear in interface MutableAnnotationskeys - keys to be clearedpublic java.util.Set<java.lang.String> keys()
Annotationskeys in interface Annotationspublic java.lang.String value(java.lang.String key)
Annotationsvalue in interface Annotationskey - annotation keypublic java.lang.String toString()
toString in class java.lang.Object