Advertisement
Guest User

Untitled

a guest
Feb 15th, 2013
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. public boolean getDeviceLostSignal()
  2. {
  3. Boolean v = (Boolean)this.getFieldValue(FLD_deviceLostSignal);
  4. return (v != null)? v.booleanValue() : true;
  5. }
  6.  
  7. public void setDeviceLostSignal(boolean v)
  8. {
  9. this.setFieldValue(FLD_deviceLostSignal, v);
  10. }
  11.  
  12. // ------------------------------------------------------------------------
  13.  
  14.  
  15. public boolean getNotificationFlag()
  16. {
  17. Boolean v = (Boolean)this.getFieldValue(FLD_notificationFlag);
  18. return (v != null)? v.booleanValue() : true;
  19. }
  20.  
  21. public void setNotificationFlag(boolean v)
  22. {
  23. this.setFieldValue(FLD_notificationFlag, v);
  24. }
  25.  
  26. // ------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement