Package ucar.nc2
Class Dimension.Builder
- java.lang.Object
-
- ucar.nc2.Dimension.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Dimension
build()
Dimension.Builder
setGroup(Group parent)
Deprecated.Will not use in 6.0Dimension.Builder
setIsShared(boolean isShared)
Set whether this is shared.Dimension.Builder
setIsUnlimited(boolean isUnlimited)
Set is unlimited.Dimension.Builder
setIsVariableLength(boolean isVariableLength)
Set variable length is true.Dimension.Builder
setLength(int n)
Set the Dimension length.Dimension.Builder
setName(String shortName)
-
-
-
Method Detail
-
setIsUnlimited
public Dimension.Builder setIsUnlimited(boolean isUnlimited)
Set is unlimited. Used by netcdf3 for variables whose outer dimension can change
-
setIsVariableLength
public Dimension.Builder setIsVariableLength(boolean isVariableLength)
Set variable length is true. Implies that its not shared, nor unlimited. Used by sequences.
-
setIsShared
public Dimension.Builder setIsShared(boolean isShared)
Set whether this is shared. Default value is true. Implies it is owned by a Group.
-
setLength
public Dimension.Builder setLength(int n)
Set the Dimension length.- Parameters:
n
- length of Dimension
-
setName
public Dimension.Builder setName(String shortName)
-
setGroup
@Deprecated public Dimension.Builder setGroup(Group parent)
Deprecated.Will not use in 6.0Set the parent group.
-
build
public Dimension build()
-
-