Package thredds.client.catalog
Class ThreddsMetadata
- java.lang.Object
-
- thredds.client.catalog.ThreddsMetadata
-
- All Implemented Interfaces:
ThreddsMetadataContainer
public class ThreddsMetadata extends Object implements ThreddsMetadataContainer
Thredds Metadata. Immutable after calling finish.- Since:
- 1/10/2015
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ThreddsMetadata.Contributor
static class
ThreddsMetadata.GeospatialCoverage
Implements GeospatialCoverage type.static class
ThreddsMetadata.GeospatialRange
Implements spatialRange type.static class
ThreddsMetadata.MetadataOther
static class
ThreddsMetadata.Source
Implements Source type, used by publisher and creator elements.static class
ThreddsMetadata.UriResolved
static class
ThreddsMetadata.Variable
Implements Variable type.static class
ThreddsMetadata.VariableGroup
static class
ThreddsMetadata.Vocab
Implements Vocab type, just text with an optional "vocabulary" attribute.
-
Constructor Summary
Constructors Constructor Description ThreddsMetadata()
ThreddsMetadata(ThreddsMetadata from)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToList(String fldName, Object fldValue)
void
finish()
Iterable<Map.Entry<String,Object>>
getFldIterator()
Map<String,Object>
getFlds()
Object
getLocalField(String fldName)
List<Object>
getLocalFieldAsList(String fldName)
boolean
isImmutable()
void
set(String fldName, Object fldValue)
-
-
-
Constructor Detail
-
ThreddsMetadata
public ThreddsMetadata()
-
ThreddsMetadata
public ThreddsMetadata(ThreddsMetadata from)
-
-
Method Detail
-
finish
public void finish()
-
isImmutable
public boolean isImmutable()
-
getLocalField
public Object getLocalField(String fldName)
- Specified by:
getLocalField
in interfaceThreddsMetadataContainer
-
getLocalFieldAsList
public List<Object> getLocalFieldAsList(String fldName)
- Specified by:
getLocalFieldAsList
in interfaceThreddsMetadataContainer
-
-