|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectthredds.catalog.ThreddsMetadata
public class ThreddsMetadata
Metadata for "enhanced catalogs", type THREDDS.
| Nested Class Summary | |
|---|---|
static class |
ThreddsMetadata.Contributor
Implements Contributor type. |
static class |
ThreddsMetadata.GeospatialCoverage
Implements GeospatialCoverage type. |
static class |
ThreddsMetadata.Range
Implements spatialRange type. |
static class |
ThreddsMetadata.Source
Implements Source type, used by publisher and creator elements. |
static class |
ThreddsMetadata.Variable
Implements Variable type. |
static class |
ThreddsMetadata.Variables
Implements Variables type. |
static class |
ThreddsMetadata.Vocab
Implements Vocab type, just text with an optional "vocabulary" attribute. |
| Constructor Summary | |
|---|---|
ThreddsMetadata(boolean inherited)
|
|
| Method Summary | |
|---|---|
void |
add(ThreddsMetadata tmd,
boolean includeInherited)
Add all the content from another ThreddsMetadata |
void |
addContributor(ThreddsMetadata.Contributor c)
Add a contributor |
void |
addCreator(ThreddsMetadata.Source c)
Add a creator |
void |
addDate(thredds.datatype.DateType d)
Add a date |
void |
addDocumentation(InvDocumentation d)
Add a documentation |
void |
addDocumentation(java.lang.String type,
java.lang.String s)
set specified type of documentation |
void |
addKeyword(ThreddsMetadata.Vocab v)
Add a keyword |
void |
addMetadata(InvMetadata m)
Add InvMetadata |
void |
addProject(ThreddsMetadata.Vocab v)
Add a project |
void |
addProperty(InvProperty p)
Add a property |
void |
addPublisher(ThreddsMetadata.Source p)
Add a publisher |
void |
addVariables(ThreddsMetadata.Variables vs)
Add variables |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getAuthority()
Get authority |
java.util.ArrayList |
getContributors()
Get list of contributors (type Contributor); may be empty, not null. |
java.util.ArrayList |
getCreators()
Get list of creators (type Source); may be empty, not null. |
DataFormatType |
getDataFormatType()
Get dataType |
double |
getDataSize()
Get the data size in bytes. |
DataType |
getDataType()
Get dataType |
java.util.List |
getDates()
Get list of DateType; may be empty, not null. |
java.util.List |
getDocumentation()
Get list of InvDocumentation; may be empty, not null. |
java.lang.String |
getDocumentation(java.lang.String type)
get specific type of documentation |
java.util.List |
getDocumentationLinks()
get Documentation that are xlinks |
ThreddsMetadata.GeospatialCoverage |
getGeospatialCoverage()
get GeospatialCoverage element |
java.lang.String |
getHistory()
get specific type of documentation = history |
java.util.ArrayList |
getKeywords()
Get list of contributors; may be empty, not null. |
java.util.List |
getMetadata()
Get list of InvMetadata; may be empty, not null. |
java.lang.String |
getProcessing()
get specific type of documentation = processing_level |
java.util.ArrayList |
getProjects()
Get list of projects (type Vocab); may be empty, not null. |
java.util.List |
getProperties()
Get list of contributors; may be empty, not null. |
java.util.List |
getPublishers()
Get list of publishers (type Source); may be empty, not null. |
java.lang.String |
getRights()
get specific type of documentation = rights |
java.lang.String |
getServiceName()
Get serviceName |
java.lang.String |
getSummary()
get specific type of documentation = summary |
thredds.datatype.DateRange |
getTimeCoverage()
get TimeCoverage element |
java.util.List |
getVariables()
Get list of Variables; may be empty, not null. |
boolean |
hasDataSize()
|
int |
hashCode()
|
boolean |
isInherited()
Get inherited |
static void |
main(java.lang.String[] args)
|
void |
removeDocumentation(java.lang.String type)
remove all instances of specified type of documentation |
void |
removeMetadata(InvMetadata m)
remove an InvMetadata element from list, using equals() to locate it. |
void |
setAuthority(java.lang.String authorityName)
Set authority |
void |
setContributors(java.util.ArrayList contributors)
Set list of contributors (type Contributor); may be empty, not null. |
void |
setCreators(java.util.ArrayList creators)
Set list of creators (type Source); may be empty, not null. |
void |
setDataFormatType(DataFormatType dataFormat)
Set dataType |
void |
setDataSize(double size)
Set size (bytes) |
void |
setDataType(DataType dataType)
Set dataType |
void |
setDocumentationLinks(java.util.List newdocs)
set the list of Documentation that are xlinks |
void |
setGeospatialCoverage(ThreddsMetadata.GeospatialCoverage gc)
set GeospatialCoverage element |
void |
setHistory(java.lang.String history)
set specific type of documentation = history |
void |
setInherited(boolean inherited)
Set inherited |
void |
setKeywords(java.util.ArrayList keywords)
Set list of contributors; may be empty, not null. |
void |
setProcessing(java.lang.String processing)
set specific type of documentation = processing_level |
void |
setProjects(java.util.ArrayList projects)
Set list of projects (type Vocab); may be empty, not null. |
void |
setPublishers(java.util.ArrayList publishers)
Set list of publishers (type Source); may be empty, not null. |
void |
setRights(java.lang.String rights)
set specific type of documentation = rights |
void |
setServiceName(java.lang.String serviceName)
Set serviceName |
void |
setSummary(java.lang.String summary)
set specific type of documentation = summary |
void |
setTimeCoverage(thredds.datatype.DateRange tc)
set TimeCoverage element |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThreddsMetadata(boolean inherited)
| Method Detail |
|---|
public void add(ThreddsMetadata tmd,
boolean includeInherited)
tmd - get content from hereincludeInherited - if false, dontadd inherited InvMetdatapublic void addCreator(ThreddsMetadata.Source c)
public java.util.ArrayList getCreators()
public void setCreators(java.util.ArrayList creators)
public void addContributor(ThreddsMetadata.Contributor c)
public java.util.ArrayList getContributors()
public void setContributors(java.util.ArrayList contributors)
public void addDate(thredds.datatype.DateType d)
public java.util.List getDates()
public void addDocumentation(InvDocumentation d)
public java.util.List getDocumentation()
public void addKeyword(ThreddsMetadata.Vocab v)
public java.util.ArrayList getKeywords()
public void setKeywords(java.util.ArrayList keywords)
public void addMetadata(InvMetadata m)
public void removeMetadata(InvMetadata m)
public java.util.List getMetadata()
public void addProject(ThreddsMetadata.Vocab v)
public java.util.ArrayList getProjects()
public void setProjects(java.util.ArrayList projects)
public void addProperty(InvProperty p)
public java.util.List getProperties()
public void addPublisher(ThreddsMetadata.Source p)
public java.util.List getPublishers()
public void setPublishers(java.util.ArrayList publishers)
public void addVariables(ThreddsMetadata.Variables vs)
public java.util.List getVariables()
public void setGeospatialCoverage(ThreddsMetadata.GeospatialCoverage gc)
public ThreddsMetadata.GeospatialCoverage getGeospatialCoverage()
public void setTimeCoverage(thredds.datatype.DateRange tc)
public thredds.datatype.DateRange getTimeCoverage()
public boolean isInherited()
public void setInherited(boolean inherited)
public java.lang.String getServiceName()
public void setServiceName(java.lang.String serviceName)
public DataType getDataType()
public void setDataType(DataType dataType)
public DataFormatType getDataFormatType()
public void setDataFormatType(DataFormatType dataFormat)
public java.lang.String getAuthority()
public void setAuthority(java.lang.String authorityName)
public java.lang.String getDocumentation(java.lang.String type)
public java.util.List getDocumentationLinks()
public void setDocumentationLinks(java.util.List newdocs)
public java.lang.String getHistory()
public void setHistory(java.lang.String history)
public java.lang.String getProcessing()
public void setProcessing(java.lang.String processing)
public java.lang.String getRights()
public void setRights(java.lang.String rights)
public java.lang.String getSummary()
public void setSummary(java.lang.String summary)
public double getDataSize()
public void setDataSize(double size)
public boolean hasDataSize()
public void addDocumentation(java.lang.String type,
java.lang.String s)
public void removeDocumentation(java.lang.String type)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
public static void main(java.lang.String[] args)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||