public abstract static class VariableDS.Builder<T extends VariableDS.Builder<T>> extends Variable.Builder<T>
Modifier and Type | Field and Description |
---|---|
List<String> |
coordSysNames |
Set<NetcdfDataset.Enhance> |
enhanceMode |
DataType |
orgDataType |
String |
orgFileTypeId |
Variable |
orgVar |
cache, dataType, ncfile, parent, parentStruct, proxyReader, shortName, spiObject
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
void |
addCoordinateSystem(String coordSysName) |
T |
addEnhanceMode(Set<NetcdfDataset.Enhance> enhanceMode) |
VariableDS |
build()
Normally this is called by Group.build()
|
T |
copyFrom(Variable orgVar)
Copy metadata from orgVar.
|
T |
copyFrom(VariableDS.Builder<?> builder) |
String |
getDescription() |
String |
getFullName() |
String |
getUnits() |
T |
setDesc(String desc) |
T |
setEnhanceMode(Set<NetcdfDataset.Enhance> enhanceMode) |
void |
setFillValueIsMissing(boolean b) |
void |
setInvalidDataIsMissing(boolean b) |
void |
setMissingDataIsMissing(boolean b) |
T |
setOriginalDataType(DataType orgDataType) |
T |
setOriginalFileTypeId(String orgFileTypeId) |
T |
setOriginalName(String orgName) |
T |
setOriginalVariable(Variable orgVar) |
T |
setUnits(String units) |
addAttribute, addAttributes, addDimension, addDimensions, copyDimensions, copyFrom, getAttributeContainer, getDimensionName, getDimensionNames, getDimensions, getDimensionsAll, getEnumTypeName, getFirstDimensionName, getRank, makeDimensionsString, replaceDimension, resetCache, setAutoGen, setCachedData, setCaching, setDataType, setDimensions, setDimensionsAnonymous, setDimensionsByName, setElementSize, setEnumTypeName, setGroup, setIsScalar, setName, setNcfile, setParentStructure, setProxyReader, setSPobject
public Set<NetcdfDataset.Enhance> enhanceMode
public Variable orgVar
public DataType orgDataType
public String orgFileTypeId
public T setEnhanceMode(Set<NetcdfDataset.Enhance> enhanceMode)
public T addEnhanceMode(Set<NetcdfDataset.Enhance> enhanceMode)
public void addCoordinateSystem(String coordSysName)
public void setFillValueIsMissing(boolean b)
public void setInvalidDataIsMissing(boolean b)
public void setMissingDataIsMissing(boolean b)
public T copyFrom(Variable orgVar)
copyFrom
in class Variable.Builder<T extends VariableDS.Builder<T>>
public T copyFrom(VariableDS.Builder<?> builder)
public String getUnits()
public String getDescription()
public String getFullName()
public VariableDS build()
build
in class Variable.Builder<T extends VariableDS.Builder<T>>