org.tango.server.annotation
Annotation Type State


@Target(value=FIELD)
@Retention(value=RUNTIME)
public @interface State

Manage state of the device.

 @State
 private DeviceState state;
 
 public DeviceState getState(){...}
 
 public void setState(DeviceState state){...}
 

A class may not declare more than one @State method.

Author:
ABEILLE



Copyright © 2012-2014. All Rights Reserved.