|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectthredds.catalog.CollectionType
public final class CollectionType
Type-safe enumeration of THREDDS coherent collection types.
| Field Summary | |
|---|---|
static CollectionType |
FORECASTS
|
static CollectionType |
NONE
|
static CollectionType |
STATIONS
|
static CollectionType |
TIMESERIES
|
| Constructor Summary | |
|---|---|
CollectionType(java.lang.String s)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
CollectionType with same name are equal. |
static java.util.Collection |
getAllTypes()
Return all CollectionType objects |
static CollectionType |
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()
Return the collection name. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final CollectionType NONE
public static final CollectionType TIMESERIES
public static final CollectionType STATIONS
public static final CollectionType FORECASTS
| Constructor Detail |
|---|
public CollectionType(java.lang.String s)
| Method Detail |
|---|
public static java.util.Collection getAllTypes()
public static CollectionType getType(java.lang.String name)
name - : match this name
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||