Modifier and Type | Method and Description |
---|---|
Dimension |
build() |
Dimension.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) |
public Dimension build()
public Dimension.Builder setIsShared(boolean isShared)
public Dimension.Builder setIsUnlimited(boolean isUnlimited)
public Dimension.Builder setIsVariableLength(boolean isVariableLength)
public Dimension.Builder setLength(int n)
n
- length of Dimensionpublic Dimension.Builder setName(String shortName)