com.pmease.quickbuild.model
Enum Alert.AlertPriority

java.lang.Object
  extended by java.lang.Enum<Alert.AlertPriority>
      extended by com.pmease.quickbuild.model.Alert.AlertPriority
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Alert.AlertPriority>
Enclosing class:
Alert

public static enum Alert.AlertPriority
extends java.lang.Enum<Alert.AlertPriority>


Enum Constant Summary
HIGH
           
LOW
           
MEDIUM
           
 
Method Summary
 boolean higherThan(Alert.AlertPriority other)
           
static Alert.AlertPriority valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Alert.AlertPriority[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LOW

public static final Alert.AlertPriority LOW

MEDIUM

public static final Alert.AlertPriority MEDIUM

HIGH

public static final Alert.AlertPriority HIGH
Method Detail

values

public static Alert.AlertPriority[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Alert.AlertPriority c : Alert.AlertPriority.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static Alert.AlertPriority valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

higherThan

public boolean higherThan(Alert.AlertPriority other)


Copyright © 2005-2010 PMEase Inc. All Rights Reserved.