Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package fr.velossity.sample.adapter.device.impl;
 
This class is a wrapper for all Adaptee devices.

Author(s):
C. Saint-Marcel
public class DeviceAdapterImpl implements Device {

The low device that we want to adapt.
Constructor for iPOJO.
	public DeviceAdapterImpl(AdapteeDevice lowDevice) {
		this. = lowDevice;
	}

See also:
fr.velossity.sample.device.Device.getIdentifier() Realizes the service by delegation to the low device.
	public String getIdentifier() {
		return .getUUID() + "_adapted";
	}

See also:
fr.velossity.sample.device.Device.getType() Realizes the service by delegation to the low device.
	public String getType() {
	}

See also:
fr.velossity.sample.device.Device.getState() The device is always functional in our simple case.
	public String getState() {
	}
New to GrepCode? Check out our FAQ X