cz.cuni.amis.pogamut.sposh.elements
Enum Freq.FreqUnits

Package class diagram package Freq.FreqUnits
java.lang.Object
  extended by java.lang.Enum<Freq.FreqUnits>
      extended by cz.cuni.amis.pogamut.sposh.elements.Freq.FreqUnits
All Implemented Interfaces:
Serializable, Comparable<Freq.FreqUnits>
Enclosing class:
Freq

public static enum Freq.FreqUnits
extends Enum<Freq.FreqUnits>

Units for frequency

Author:
HonzaH

Enum Constant Summary
HOURS
           
HZ
           
MINUTES
           
NONE
           
PM
           
SECONDS
           
 
Method Summary
 int getId()
           
 String toString()
           
static Freq.FreqUnits valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Freq.FreqUnits[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HOURS

public static final Freq.FreqUnits HOURS

MINUTES

public static final Freq.FreqUnits MINUTES

SECONDS

public static final Freq.FreqUnits SECONDS

NONE

public static final Freq.FreqUnits NONE

HZ

public static final Freq.FreqUnits HZ

PM

public static final Freq.FreqUnits PM
Method Detail

values

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

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

valueOf

public static Freq.FreqUnits 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

toString

public String toString()
Overrides:
toString in class Enum<Freq.FreqUnits>

getId

public int getId()


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.