edu.nrao.sss.model.source
Enum SourcePositionType

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

Deprecated. Use edu.sss.model.astronomy.SkyPositionType. An indicator for the form in which position information is held.

Version Info:

$Revision: 543 $
$Date: 2007-04-18 17:35:38 -0600 (Wed, 18 Apr 2007) $
$Author: dharland $

@Deprecated
public enum SourcePositionType
extends Enum<SourcePositionType>

Since:
2006-??-??
Author:
David M. Harland

Enum Constant Summary
EPHEMERIS_TABLE
          Deprecated. Position information stored as an ephemeris table.
INTERNAL_EPHEMERIS
          Deprecated. Position information stored as the name of a body that can later be turned into an ephemeris table.
ORBITAL_ELEMENTS
          Deprecated. Position information stored as orbital elements.
POLYNOMIAL
          Deprecated. Position information stored as a series of one or more polynomial equations where the independent variable is time.
SIMPLE
          Deprecated. The simplest form of position information.
 
Method Summary
static SourcePositionType fromString(String text)
          Deprecated. Returns the source position type represented by text.
static SourcePositionType getDefault()
          Deprecated. Returns a default source position type.
 String toString()
          Deprecated. Returns a text representation of this enumeration constant.
static SourcePositionType valueOf(String name)
          Deprecated. Returns the enum constant of this type with the specified name.
static SourcePositionType[] values()
          Deprecated. 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

SIMPLE

public static final SourcePositionType SIMPLE
Deprecated. 
The simplest form of position information. This typically means that the position is not stored as a function of time.


POLYNOMIAL

public static final SourcePositionType POLYNOMIAL
Deprecated. 
Position information stored as a series of one or more polynomial equations where the independent variable is time.


ORBITAL_ELEMENTS

public static final SourcePositionType ORBITAL_ELEMENTS
Deprecated. 
Position information stored as orbital elements.


EPHEMERIS_TABLE

public static final SourcePositionType EPHEMERIS_TABLE
Deprecated. 
Position information stored as an ephemeris table.


INTERNAL_EPHEMERIS

public static final SourcePositionType INTERNAL_EPHEMERIS
Deprecated. 
Position information stored as the name of a body that can later be turned into an ephemeris table.

Method Detail

values

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

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

valueOf

public static SourcePositionType valueOf(String name)
Deprecated. 
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

getDefault

public static SourcePositionType getDefault()
Deprecated. 
Returns a default source position type.

Returns:
a default source position type.

toString

public String toString()
Deprecated. 
Returns a text representation of this enumeration constant.

Overrides:
toString in class Enum<SourcePositionType>
Returns:
a text representation of this enumeration constant.

fromString

public static SourcePositionType fromString(String text)
Deprecated. 
Returns the source position type represented by text.

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

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


Copyright © 2009. All Rights Reserved.