|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=FIELD) @Retention(value=RUNTIME) public @interface Status
Manage status of the device.
@Status
private String status;
public String getStatus(){...}
public void getStatus(String status){...}
A class may not declare more than one @Status method.
| Optional Element Summary | |
|---|---|
boolean |
isPolled
define if attribute is polled. |
int |
pollingPeriod
Configure polling period in ms. |
public abstract boolean isPolled
Attribute.pollingPeriod()
public abstract int pollingPeriod
Attribute.isPolled() is true
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||