Class DeviceCombination
- java.lang.Object
-
- fi.tut.mei.capabilityQueryLib.model.Device
-
- fi.tut.mei.capabilityQueryLib.model.DeviceWithCapabilities
-
- fi.tut.mei.capabilityQueryLib.model.DeviceCombination
-
- Direct Known Subclasses:
RealDeviceCombination
,TestDeviceCombination
public abstract class DeviceCombination extends DeviceWithCapabilities
Class that represents a device combination.- Author:
- hylli
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class fi.tut.mei.capabilityQueryLib.model.Device
Device.Type
-
-
Constructor Summary
Constructors Constructor Description DeviceCombination(String name)
Create a device combination with the given name.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
addDevice(Device device)
add a device to this device's devicesList<Device>
getDevices()
get the devices this device consists ofabstract boolean
isReal()
abstract boolean
isTest()
-
Methods inherited from class fi.tut.mei.capabilityQueryLib.model.DeviceWithCapabilities
addCapability, addParameterObject, addParameterValue, addResourceCapability, getCapabilities, getCapabilityParameterObjectProperties, getParameterObjectValue, getParameters, getParameterValuesForCapability, getResourceCapabilities, getResourceCapability
-
Methods inherited from class fi.tut.mei.capabilityQueryLib.model.Device
getBasicInformation, getBlueprint, getDescription, getDescriptionAsPlainText, getName, getRdID, getRdURL, getType, setDescription, setRdID, setRdURL, toString
-
-
-
-
Constructor Detail
-
DeviceCombination
public DeviceCombination(String name)
Create a device combination with the given name.- Parameters:
name
- The device combination name.
-
-
Method Detail
-
getDevices
public List<Device> getDevices()
get the devices this device consists of- Overrides:
getDevices
in classDevice
- Returns:
- the devices this device consists of
-
addDevice
public void addDevice(Device device)
add a device to this device's devices- Parameters:
device
- a device that is a part of this device.
-
isReal
public abstract boolean isReal()
-
isTest
public abstract boolean isTest()
-
-