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 protected int alarmState = 0; 012 /** 013 * A value indicating the status of the object. 014 */ 015 protected int statusState = 0; 016 /** 017 * A character string identifying the object. 018 */ 019 protected String objectID = new String(); 020 public int getAlarmState() { 021 return alarmState; 022 } 023 public void setAlarmState(int value) { 024 alarmState = value; 025 } 026 public int getStatusState() { 027 return statusState; 028 } 029 public void setStatusState(int value) { 030 statusState = value; 031 } 032 033}