|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.emn.reactiveinput.descriptor.DDProperties
This is a special descriptor that is used to set the properties of a device. It contains all devices.
This descriptor must ALWAYS have a DDAnd as parent. When its contains() method is called on a device (i.e. when all previous conditions in DDAnd match), it sets some properties on the device.
The string argument is a list of properties, for example:
MinFreq: 500.5; MaxFreq: 1000; VocabArray: [Yes, No];
Constructor Summary | |
DDProperties(Device device)
Creates a DDProperties with all device properties which values are different from its original prototype. |
|
DDProperties(java.lang.String propertyValues)
|
Method Summary | |
boolean |
contains(Device d)
TO TEST |
DeviceDescriptor[] |
getChildren()
|
java.lang.String |
getString()
Returns the string form of this descriptor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DDProperties(Device device)
public DDProperties(java.lang.String propertyValues)
Method Detail |
public boolean contains(Device d)
contains
in interface DeviceDescriptor
public DeviceDescriptor[] getChildren()
getChildren
in interface MetaDD
public java.lang.String getString()
DeviceDescriptor
Returns null if the descriptor is not valid (in all environments).
getString
in interface DeviceDescriptor
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |