gov.nasa.gsfc.drl.rtstps.core.output.hdf5
Class DomainDescription

java.lang.Object
  extended by gov.nasa.gsfc.drl.rtstps.core.output.hdf5.DomainDescription

public class DomainDescription
extends java.lang.Object

Creates a domain description from one of three types of domains: Fixed, CalVal or TemporaryAndTest. This package only used the FixedDomainDescription.


Field Summary
private  java.lang.String description
           
private  java.lang.String domain
           
 
Constructor Summary
DomainDescription(CalValDomain calValDomain)
          Construct a DomainDescription from a CalValDomain.
DomainDescription(FixedDomainDescription domain)
          Construct a DomainDescription from a FixedDomainDescription.
DomainDescription(TemporaryAndTestDomain tempTestDomain)
          Construct a DomainDescription from a TemporaryAndTestDomain.
 
Method Summary
 java.lang.String getDescription()
          Return the description of the domain as a String
 java.lang.String getDomain()
          Return the string representation of the domain
 java.lang.String toString()
          Return the domain name as a String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

domain

private java.lang.String domain

description

private java.lang.String description
Constructor Detail

DomainDescription

public DomainDescription(FixedDomainDescription domain)
Construct a DomainDescription from a FixedDomainDescription.

Parameters:
domain - the FixedDomainDescription

DomainDescription

public DomainDescription(CalValDomain calValDomain)
Construct a DomainDescription from a CalValDomain.

Parameters:
calValDomain - the CalValDomain

DomainDescription

public DomainDescription(TemporaryAndTestDomain tempTestDomain)
Construct a DomainDescription from a TemporaryAndTestDomain.

Parameters:
tempTestDomain - the TemporaryAndTestDomain
Method Detail

getDomain

public java.lang.String getDomain()
Return the string representation of the domain

Returns:
the String domain name

getDescription

public java.lang.String getDescription()
Return the description of the domain as a String

Returns:
the String description

toString

public java.lang.String toString()
Return the domain name as a String

Overrides:
toString in class java.lang.Object
Returns:
the String domain name