net.sf.dynamicreports.adhoc.xmlconfiguration
Enum XmlAdhocCalculation

java.lang.Object
  extended by java.lang.Enum<XmlAdhocCalculation>
      extended by net.sf.dynamicreports.adhoc.xmlconfiguration.XmlAdhocCalculation
All Implemented Interfaces:
Serializable, Comparable<XmlAdhocCalculation>

public enum XmlAdhocCalculation
extends Enum<XmlAdhocCalculation>

Java class for Calculation.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="Calculation">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="NOTHING"/>
     <enumeration value="COUNT"/>
     <enumeration value="SUM"/>
     <enumeration value="AVERAGE"/>
     <enumeration value="LOWEST"/>
     <enumeration value="HIGHEST"/>
     <enumeration value="STANDARD_DEVIATION"/>
     <enumeration value="VARIANCE"/>
     <enumeration value="FIRST"/>
     <enumeration value="DISTINCT_COUNT"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
AVERAGE
           
COUNT
           
DISTINCT_COUNT
           
FIRST
           
HIGHEST
           
LOWEST
           
NOTHING
           
STANDARD_DEVIATION
           
SUM
           
VARIANCE
           
 
Method Summary
static XmlAdhocCalculation fromValue(String v)
           
 String value()
           
static XmlAdhocCalculation valueOf(String name)
          Returns the enum constant of this type with the specified name.
static XmlAdhocCalculation[] 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

NOTHING

public static final XmlAdhocCalculation NOTHING

COUNT

public static final XmlAdhocCalculation COUNT

SUM

public static final XmlAdhocCalculation SUM

AVERAGE

public static final XmlAdhocCalculation AVERAGE

LOWEST

public static final XmlAdhocCalculation LOWEST

HIGHEST

public static final XmlAdhocCalculation HIGHEST

STANDARD_DEVIATION

public static final XmlAdhocCalculation STANDARD_DEVIATION

VARIANCE

public static final XmlAdhocCalculation VARIANCE

FIRST

public static final XmlAdhocCalculation FIRST

DISTINCT_COUNT

public static final XmlAdhocCalculation DISTINCT_COUNT
Method Detail

values

public static XmlAdhocCalculation[] 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 (XmlAdhocCalculation c : XmlAdhocCalculation.values())
    System.out.println(c);

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

valueOf

public static XmlAdhocCalculation 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

value

public String value()

fromValue

public static XmlAdhocCalculation fromValue(String v)


Copyright © 2010-2012. All Rights Reserved.