stella
Class AbstractTarget.FitsEntry

java.lang.Object
  extended by stella.AbstractTarget.FitsEntry
All Implemented Interfaces:
Serializable
Enclosing class:
AbstractTarget

public static class AbstractTarget.FitsEntry
extends Object
implements Serializable

A class containing a single fits-header info. Each fits-header must have a defined key and a defined parameter name. The comment is optional and should be null if undefined.
At run-time, the parameter with the given name is looked up in the CCD-master's parameter set and its value is entered in the fits header.

See Also:
Serialized Form

Field Summary
private  String comment
          The optional comment.
private  String key
          The mandatory key.
private  String parameter
          The mandatory parameter name.
 
Constructor Summary
AbstractTarget.FitsEntry(String fitskey, String value, String remark)
          Constructs a new fits entry object.
 
Method Summary
 String getComment()
          Returns the optional comment.
 String getKey()
          Returns the fits-header key.
 String getParameterName()
          Returns the name of the parameter whose value should enter the fits header.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

private String key
The mandatory key.


parameter

private String parameter
The mandatory parameter name.


comment

private String comment
The optional comment.

Constructor Detail

AbstractTarget.FitsEntry

public AbstractTarget.FitsEntry(String fitskey,
                                String value,
                                String remark)
Constructs a new fits entry object. The key and the parameter name must always be specified. If no comment should be added to the fits header information, supply a null-String for the third argument.

Method Detail

getKey

public String getKey()
Returns the fits-header key. Always non-null.


getParameterName

public String getParameterName()
Returns the name of the parameter whose value should enter the fits header.


getComment

public String getComment()
Returns the optional comment. Null means that no comment is given.