All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.velossity.sample.device.impl.MockDeviceImpl Maven / Gradle / Ivy

There is a newer version: 1.0.14
Show newest version
package fr.velossity.sample.device.impl;

import fr.velossity.sample.device.Device;

/**
 * 
 * @author C. Saint-Marcel
 * 
 */
public class MockDeviceImpl implements Device {

	String identifier;
	
	/*
	 * Default constructor.
	 */
	public MockDeviceImpl(String identifier) {
		super();
		this.identifier = identifier;
	}

	public String getIdentifier() {
		return identifier;
	}

	public String getType() {
		return "Mock";
	}

	/**
	 * Mock device is always functional
	 */
	public String getState() {
		return DEVICE_STATE_FUNCTIONAL;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy