001package bradleyross.j2ee.beans; 002/** 003 * This will represent an object that is controlled or monitored 004 * by the system. 005 * @author Bradley Ross 006 * 007 */ 008public class ControlledObject { 009 010 public ControlledObject() { 011 // TODO Auto-generated constructor stub 012 } 013 protected int alarmState = 0; 014 /** 015 * A value indicating the status of the object. 016 */ 017 protected int statusState = 0; 018 /** 019 * A character string identifying the object. 020 */ 021 protected String objectID = new String(); 022 public int getAlarmState() { 023 return alarmState; 024 } 025 public void setAlarmState(int value) { 026 alarmState = value; 027 } 028 public int getStatusState() { 029 return statusState; 030 } 031 public void setStatusState(int value) { 032 statusState = value; 033 } 034 035}