public static final class TLcdDimensionAxis.Builder<T> extends Object
Modifier and Type | Method and Description |
---|---|
TLcdDimensionAxis.Builder<T> |
all(TLcdDimensionAxis<T> aDimensionAxis)
Sets all parameters on the builder based on the given axis.
|
TLcdDimensionAxis<T> |
build()
Builds the dimension axis with the set parameters.
|
TLcdDimensionAxis.Builder<T> |
displayName(String aDisplayName)
Sets the display name of the dimension axis.
|
TLcdDimensionAxis.Builder<T> |
positive(boolean aPositive)
Sets the direction of axis.
|
TLcdDimensionAxis.Builder<T> |
type(Class<T> aType) |
TLcdDimensionAxis.Builder<T> |
unit(ILcdISO19103UnitOfMeasure aUnit)
Sets the unit of this axis.
|
public TLcdDimensionAxis.Builder<T> type(Class<T> aType)
public TLcdDimensionAxis.Builder<T> displayName(String aDisplayName)
aDisplayName
- the display namethis
public TLcdDimensionAxis.Builder<T> unit(ILcdISO19103UnitOfMeasure aUnit)
getUnit
for more information.aUnit
- the unit of this axis (optional)this
public TLcdDimensionAxis.Builder<T> positive(boolean aPositive)
aPositive
- axis increasing/decreasingthis
public TLcdDimensionAxis.Builder<T> all(TLcdDimensionAxis<T> aDimensionAxis)
Sets all parameters on the builder based on the given axis.
This is useful for example to create a new axis that has almost all properties equal to another axis.
aDimensionAxis
- the axis to copythis
public TLcdDimensionAxis<T> build()