org.jminor.framework.client.model
Enum PropertySummaryModel.SummaryType

java.lang.Object
  extended by java.lang.Enum<PropertySummaryModel.SummaryType>
      extended by org.jminor.framework.client.model.PropertySummaryModel.SummaryType
All Implemented Interfaces:
Serializable, Comparable<PropertySummaryModel.SummaryType>
Enclosing interface:
PropertySummaryModel

public static enum PropertySummaryModel.SummaryType
extends Enum<PropertySummaryModel.SummaryType>


Enum Constant Summary
AVERAGE
           
MAXIMUM
           
MINIMUM
           
MINIMUM_MAXIMUM
           
NONE
           
SUM
           
 
Method Summary
static PropertySummaryModel.SummaryType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PropertySummaryModel.SummaryType[] values()
          Returns an array containing the constants of this enum type, in the order they are 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

NONE

public static final PropertySummaryModel.SummaryType NONE

SUM

public static final PropertySummaryModel.SummaryType SUM

AVERAGE

public static final PropertySummaryModel.SummaryType AVERAGE

MINIMUM

public static final PropertySummaryModel.SummaryType MINIMUM

MAXIMUM

public static final PropertySummaryModel.SummaryType MAXIMUM

MINIMUM_MAXIMUM

public static final PropertySummaryModel.SummaryType MINIMUM_MAXIMUM
Method Detail

values

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

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

valueOf

public static PropertySummaryModel.SummaryType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null