ucar.nc2.ncml
Class Aggregation.Type

java.lang.Object
  extended by ucar.nc2.ncml.Aggregation.Type
Enclosing class:
Aggregation

public static class Aggregation.Type
extends java.lang.Object


Field Summary
static Aggregation.Type FORECAST_MODEL
           
static Aggregation.Type FORECAST_MODEL_COLLECTION
           
static Aggregation.Type FORECAST_MODEL_SINGLE
           
static Aggregation.Type JOIN_EXISTING
           
static Aggregation.Type JOIN_NEW
           
static Aggregation.Type UNION
           
 
Constructor Summary
Aggregation.Type(java.lang.String s)
           
 
Method Summary
 boolean equals(java.lang.Object o)
          CollectionType with same name are equal.
static java.util.Collection getAllTypes()
           
static Aggregation.Type getType(java.lang.String name)
          Find the CollectionType that matches this name, ignore case.
 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

JOIN_EXISTING

public static final Aggregation.Type JOIN_EXISTING

JOIN_NEW

public static final Aggregation.Type JOIN_NEW

UNION

public static final Aggregation.Type UNION

FORECAST_MODEL

public static final Aggregation.Type FORECAST_MODEL

FORECAST_MODEL_COLLECTION

public static final Aggregation.Type FORECAST_MODEL_COLLECTION

FORECAST_MODEL_SINGLE

public static final Aggregation.Type FORECAST_MODEL_SINGLE
Constructor Detail

Aggregation.Type

public Aggregation.Type(java.lang.String s)
Method Detail

getAllTypes

public static java.util.Collection getAllTypes()

getType

public static Aggregation.Type getType(java.lang.String name)
Find the CollectionType that matches this name, ignore case.

Parameters:
name - : match this name
Returns:
CollectionType 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)
CollectionType with same name are equal.

Overrides:
equals in class java.lang.Object