|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
For device class data and references to DeviceProperty objects.
You can obtain lists of property names defined for the device class with getPropertyNames() and getPropertyNames(listName). You can obtain the DeviceProperty object itself with getDeviceProperty(propertyName)
A DeviceClass object is identified by its name which must be
unique for the implementation.
An array of all deviceclass names can be obtained with
DirectoryService#getDeviceClassNames().
A subset array of deviceclass names can be obtained with
DirectoryService#getDeviceClassNames(query).
A DeviceClass object can be obtained with DirectoryService#getDeviceClass(className).
General documentation in DirectoryService .
DeviceData
,
DeviceProperty
,
DeviceList
Method Summary | |
DeviceProperty |
getDeviceProperty(java.lang.String propertyName)
Gets DeviceProperty object, given the property name. |
java.lang.String[] |
getPropertyListNames()
Gets array of all propertylist names for the deviceclass. |
java.lang.String[] |
getPropertyNames()
Gets array of all property names for the deviceclass. |
java.lang.String[] |
getPropertyNames(java.lang.String listName)
Gets a ordered subset of the property names of a class. |
Methods inherited from interface cdev.dir.DirectoryItem |
getDescription,
getInfo,
getInfoLines,
getInfoWidth,
getName,
getServiceName,
toString |
Method Detail |
public DeviceProperty getDeviceProperty(java.lang.String propertyName) throws NoSuchDataException, BadConnectionException, TooManyValuesException
propertyName
- the name of the propertypublic java.lang.String[] getPropertyListNames() throws NoSuchDataException, BadConnectionException
public java.lang.String[] getPropertyNames() throws NoSuchDataException, BadConnectionException
public java.lang.String[] getPropertyNames(java.lang.String listName) throws NoSuchDataException, BadConnectionException
listName
- the name for the sublist of properties for the device class.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |