Package ucar.nc2.grid
Class GridAxis.Builder<T extends GridAxis.Builder<T>>
- java.lang.Object
-
- ucar.nc2.grid.GridAxis.Builder<T>
-
- Direct Known Subclasses:
GridAxisInterval.Builder
,GridAxisPoint.Builder
public abstract static class GridAxis.Builder<T extends GridAxis.Builder<T>> extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
addAttribute(Attribute att)
T
setAttributes(AttributeContainer attributes)
T
setAxisType(AxisType axisType)
T
setDependenceType(GridAxisDependenceType dependenceType)
T
setDependsOn(String dependsOn)
T
setDependsOn(List<String> dependsOn)
T
setDescription(String description)
T
setIsSubset(boolean subset)
T
setName(String name)
T
setResolution(double resolution)
When spacing.isRegular, same as increment.T
setSpacing(GridAxisSpacing spacing)
T
setUnits(String units)
String
toString()
-
-
-
Field Detail
-
axisType
public AxisType axisType
-
-
Method Detail
-
setAttributes
public T setAttributes(AttributeContainer attributes)
-
setDependenceType
public T setDependenceType(GridAxisDependenceType dependenceType)
-
setSpacing
public T setSpacing(GridAxisSpacing spacing)
-
setResolution
public T setResolution(double resolution)
When spacing.isRegular, same as increment. Otherwise the spacing average or mode, used for information only.
-
setIsSubset
public T setIsSubset(boolean subset)
-
-