edu.iris.dmc.criteria
Enum Quality

java.lang.Object
  extended by java.lang.Enum<Quality>
      extended by edu.iris.dmc.criteria.Quality
All Implemented Interfaces:
Serializable, Comparable<Quality>

public enum Quality
extends Enum<Quality>

The D, R, Q, M are defined in the seed format as written below. the E and B Qualities are supported by DMC request mechanisms.


Enum Constant Summary
B
          Best
D
          The state of quality control of the data is indeterminate
E
          Indicates everything/all quality
M
          Data center modified, time-series values have not been changed.
Q
          Quality Controlled Data, some processes have been applied to the data.
R
          Raw Waveform Data with no Quality Control
 
Method Summary
static Quality valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Quality[] 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

E

public static final Quality E
Indicates everything/all quality


M

public static final Quality M
Data center modified, time-series values have not been changed.


B

public static final Quality B
Best


Q

public static final Quality Q
Quality Controlled Data, some processes have been applied to the data.


R

public static final Quality R
Raw Waveform Data with no Quality Control


D

public static final Quality D
The state of quality control of the data is indeterminate

Method Detail

values

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

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

valueOf

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


Copyright © 2013. All Rights Reserved.