|
|||||||||
| 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
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
CollectionType with same name are equal. |
static CollectionType |
findType(String name)
Return the known CollectionType that matches the given name (ignoring case) or null if the name is unknown. |
static Collection<CollectionType> |
getAllTypes()
|
static CollectionType |
getType(String name)
Return a CollectionType that matches the given name by either matching a known type (ignoring case) or creating an unknown type. |
int |
hashCode()
Override Object.hashCode() to be consistent with this equals. |
String |
toString()
Return the collection name. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, 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
| Method Detail |
|---|
public static Collection<CollectionType> getAllTypes()
public static CollectionType findType(String name)
name - name of the desired CollectionType.
public static CollectionType getType(String name)
name - name of the desired CollectionType
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||