edu.nrao.sss.model.resource
Enum CorrelatorName

java.lang.Object
  extended by java.lang.Enum<CorrelatorName>
      extended by edu.nrao.sss.model.resource.CorrelatorName
All Implemented Interfaces:
Serializable, Comparable<CorrelatorName>

public enum CorrelatorName
extends Enum<CorrelatorName>

An enumeration of known interferometer correlators.

This enumeration has the same name, and elements that have the same names and are in the same order, as the corresponding ALMA enumeration.

Version Info:

$Revision: 1196 $
$Date: 2008-03-31 09:48:16 -0600 (Mon, 31 Mar 2008) $
$Author: dharland $ (last person to modify)

Since:
2008-01-31
Author:
David M. Harland

Enum Constant Summary
ALMA_ACA
           
ALMA_BASELINE
           
ALMA_BASELINE_ATF
           
ALMA_BASELINE_PROTO_OSF
           
HERSCHEL
           
IRAM_30M_VESPA
           
IRAM_PDB
           
IRAM_WILMA
           
VLA
           
WIDAR
           
 
Method Summary
static CorrelatorName fromString(String text)
          Returns the type of correlator represented by text.
 String toString()
           
static CorrelatorName valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CorrelatorName[] 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

ALMA_ACA

public static final CorrelatorName ALMA_ACA

ALMA_BASELINE

public static final CorrelatorName ALMA_BASELINE

ALMA_BASELINE_ATF

public static final CorrelatorName ALMA_BASELINE_ATF

ALMA_BASELINE_PROTO_OSF

public static final CorrelatorName ALMA_BASELINE_PROTO_OSF

HERSCHEL

public static final CorrelatorName HERSCHEL

IRAM_PDB

public static final CorrelatorName IRAM_PDB

IRAM_30M_VESPA

public static final CorrelatorName IRAM_30M_VESPA

IRAM_WILMA

public static final CorrelatorName IRAM_WILMA

VLA

public static final CorrelatorName VLA

WIDAR

public static final CorrelatorName WIDAR
Method Detail

values

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

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

valueOf

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

fromString

public static CorrelatorName fromString(String text)
Returns the type of correlator represented by text.

For details about the transformation, see EnumerationUtility.enumFromString(Class, String).

Parameters:
text - a text representation of a type of correlator.
Returns:
the type of correlator represented by text.


Copyright © 2009. All Rights Reserved.