--- projects/cms/source/server/uk/org/iscream/cms/server/client/Alert.java 2001/02/28 00:00:04 1.1 +++ projects/cms/source/server/uk/org/iscream/cms/server/client/Alert.java 2001/02/28 00:07:58 1.2 @@ -8,7 +8,7 @@ import uk.ac.ukc.iscream.util.*; * Alert Object * * @author $Author: tdb $ - * @version $Id: Alert.java,v 1.1 2001/02/28 00:00:04 tdb Exp $ + * @version $Id: Alert.java,v 1.2 2001/02/28 00:07:58 tdb Exp $ */ class Alert { @@ -17,10 +17,10 @@ class Alert { /** * The current CVS revision of this class */ - public static final String REVISION = "$Revision: 1.1 $"; + public static final String REVISION = "$Revision: 1.2 $"; // DEFINE MORE ALERT LEVELS HERE - public static final int OK = "0"; + public static final int OK = 0; //---STATIC METHODS--- @@ -56,6 +56,13 @@ class Alert { //---PRIVATE METHODS--- //---ACCESSOR/MUTATOR METHODS--- + + /** + * Returns the level of this packet + */ + public int getLevel() { + return _level; + } //---ATTRIBUTES---