public class DatasetBuilder
extends java.lang.Object
Constructor and Description |
---|
DatasetBuilder(DatasetBuilder parent) |
DatasetBuilder(DatasetBuilder parent,
Dataset from) |
Modifier and Type | Method and Description |
---|---|
void |
addAccess(AccessBuilder d) |
void |
addDataset(DatasetBuilder d) |
void |
addServiceToCatalog(Service s) |
static void |
addToList(java.util.Map<java.lang.String,java.lang.Object> flds,
java.lang.String fldName,
java.lang.Object fldValue)
Utility routine to keep list of objects small.
|
void |
addToList(java.lang.String fldName,
java.lang.Object fldValue) |
static void |
addToNewList(java.util.Map<java.lang.String,java.lang.Object> flds,
java.lang.String fldName,
java.lang.Object fldValue) |
Dataset |
copyDataset(DatasetNode parent) |
java.lang.Object |
get(java.lang.String fldName) |
java.lang.Iterable<DatasetBuilder> |
getDatasets() |
java.lang.Object |
getFldOrInherited(java.lang.String fldName) |
ThreddsMetadata |
getInheritableMetadata() |
java.lang.String |
getName() |
DatasetBuilder |
getParent() |
java.lang.Iterable<Service> |
getServices() |
Dataset |
makeDataset(DatasetNode parent) |
void |
put(java.lang.String fldName,
java.lang.Object fldValue) |
void |
putInheritedField(java.lang.String fldName,
java.lang.Object fldValue) |
void |
setName(java.lang.String name) |
void |
transferInheritedMetadata(DatasetNode from) |
void |
transferMetadata(DatasetNode from,
boolean parentsAlso) |
public DatasetBuilder(DatasetBuilder parent)
public DatasetBuilder(DatasetBuilder parent, Dataset from)
public void addAccess(AccessBuilder d)
public void addDataset(DatasetBuilder d)
public void addServiceToCatalog(Service s)
public static void addToList(java.util.Map<java.lang.String,java.lang.Object> flds, java.lang.String fldName, java.lang.Object fldValue)
public void addToList(java.lang.String fldName, java.lang.Object fldValue)
public static void addToNewList(java.util.Map<java.lang.String,java.lang.Object> flds, java.lang.String fldName, java.lang.Object fldValue)
public Dataset copyDataset(DatasetNode parent)
public java.lang.Object get(java.lang.String fldName)
public java.lang.Iterable<DatasetBuilder> getDatasets()
public java.lang.Object getFldOrInherited(java.lang.String fldName)
public ThreddsMetadata getInheritableMetadata()
public java.lang.String getName()
public DatasetBuilder getParent()
public java.lang.Iterable<Service> getServices()
public Dataset makeDataset(DatasetNode parent)
public void put(java.lang.String fldName, java.lang.Object fldValue)
public void putInheritedField(java.lang.String fldName, java.lang.Object fldValue)
public void setName(java.lang.String name)
public void transferInheritedMetadata(DatasetNode from)
public void transferMetadata(DatasetNode from, boolean parentsAlso)