Package nom.tam.fits.header
Enum HierarchicalGrouping
- java.lang.Object
-
- java.lang.Enum<HierarchicalGrouping>
-
- nom.tam.fits.header.HierarchicalGrouping
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<HierarchicalGrouping>,IFitsHeader
public enum HierarchicalGrouping extends java.lang.Enum<HierarchicalGrouping> implements IFitsHeader
This data dictionary contains FITS keywords that have been widely used within the astronomical community. It is recommended that these keywords only be used as defined here. These are the Hierarchical file grouping keywords.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface nom.tam.fits.header.IFitsHeader
IFitsHeader.HDU, IFitsHeader.SOURCE, IFitsHeader.VALUE
-
-
Field Summary
Fields Modifier and Type Field Description private IFitsHeaderkey
-
Constructor Summary
Constructors Modifier Constructor Description privateHierarchicalGrouping(IFitsHeader.SOURCE status, IFitsHeader.HDU hdu, IFitsHeader.VALUE valueType, java.lang.String comment)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringcomment()IFitsHeader.HDUhdu()java.lang.Stringkey()IFitsHeadern(int... number)IFitsHeader.SOURCEstatus()static HierarchicalGroupingvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static HierarchicalGrouping[]values()Returns an array containing the constants of this enum type, in the order they are declared.IFitsHeader.VALUEvalueType()
-
-
-
Enum Constant Detail
-
GRPIDn
public static final HierarchicalGrouping GRPIDn
TODO: find description?
-
GRPLCn
public static final HierarchicalGrouping GRPLCn
TODO: find description?
-
GRPNAME
public static final HierarchicalGrouping GRPNAME
the grouping table name. TODO: find description?
-
-
Field Detail
-
key
private final IFitsHeader key
-
-
Constructor Detail
-
HierarchicalGrouping
private HierarchicalGrouping(IFitsHeader.SOURCE status, IFitsHeader.HDU hdu, IFitsHeader.VALUE valueType, java.lang.String comment)
-
-
Method Detail
-
values
public static HierarchicalGrouping[] 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 (HierarchicalGrouping c : HierarchicalGrouping.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HierarchicalGrouping valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
comment
public java.lang.String comment()
- Specified by:
commentin interfaceIFitsHeader
-
hdu
public IFitsHeader.HDU hdu()
- Specified by:
hduin interfaceIFitsHeader
-
key
public java.lang.String key()
- Specified by:
keyin interfaceIFitsHeader
-
n
public IFitsHeader n(int... number)
- Specified by:
nin interfaceIFitsHeader
-
status
public IFitsHeader.SOURCE status()
- Specified by:
statusin interfaceIFitsHeader
-
valueType
public IFitsHeader.VALUE valueType()
- Specified by:
valueTypein interfaceIFitsHeader
-
-