thredds.wcs
Class SectionType

java.lang.Object
  extended by thredds.wcs.SectionType

public final class SectionType
extends java.lang.Object

Type-safe enumeration of WCS Section Type.

Version:
$Revision:63 $ $Date:2006-07-12 21:50:51Z $
Author:
john caron

Field Summary
static SectionType Capability
           
static SectionType ContentMetadata
           
static SectionType Service
           
 
Constructor Summary
SectionType(java.lang.String s)
           
 
Method Summary
 boolean equals(java.lang.Object o)
          DataType with same name are equal.
static java.util.Collection getAllTypes()
           
static SectionType getType(java.lang.String name)
          Find the DataType that matches this name.
 int hashCode()
          Override Object.hashCode() to be consistent with this equals.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

Service

public static final SectionType Service

Capability

public static final SectionType Capability

ContentMetadata

public static final SectionType ContentMetadata
Constructor Detail

SectionType

public SectionType(java.lang.String s)
Method Detail

getAllTypes

public static java.util.Collection getAllTypes()

getType

public static SectionType getType(java.lang.String name)
Find the DataType that matches this name.

Parameters:
name - : name to match
Returns:
DataType or null if no match.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
the string name.

hashCode

public int hashCode()
Override Object.hashCode() to be consistent with this equals.

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
DataType with same name are equal.

Overrides:
equals in class java.lang.Object