public class DatasetBuilder extends 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(Map<String,Object> flds,
String fldName,
Object fldValue)
Utility routine to keep list of objects small.
|
void |
addToList(String fldName,
Object fldValue) |
static void |
addToNewList(Map<String,Object> flds,
String fldName,
Object fldValue) |
Dataset |
copyDataset(DatasetNode parent) |
Object |
get(String fldName) |
Iterable<DatasetBuilder> |
getDatasets() |
Object |
getFldOrInherited(String fldName) |
ThreddsMetadata |
getInheritableMetadata() |
String |
getName() |
DatasetBuilder |
getParent() |
Iterable<Service> |
getServices() |
Dataset |
makeDataset(DatasetNode parent) |
void |
put(String fldName,
Object fldValue) |
void |
putInheritedField(String fldName,
Object fldValue) |
void |
setName(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(Map<String,Object> flds, String fldName, Object fldValue)
public static void addToNewList(Map<String,Object> flds, String fldName, Object fldValue)
public Dataset copyDataset(DatasetNode parent)
public Iterable<DatasetBuilder> getDatasets()
public ThreddsMetadata getInheritableMetadata()
public String getName()
public DatasetBuilder getParent()
public Dataset makeDataset(DatasetNode parent)
public void setName(String name)
public void transferInheritedMetadata(DatasetNode from)
public void transferMetadata(DatasetNode from, boolean parentsAlso)