Class CalculationComponentPatch.Builder
java.lang.Object
io.skipcheck.tm1.client.model.CalculationComponentPatch.Builder
- Enclosing class:
CalculationComponentPatch
Builds a
CalculationComponentPatch; each setter replaces what an earlier call set.-
Method Summary
Modifier and TypeMethodDescriptionBindsCubeto an existing entity (Cube@odata.bind).BindsTupleto existing entities (Tuple@odata.bind).build()The patch, with what's been set so far.components(@Nullable List<CalculationComponentPatch> components) SetsComponents: The set of components that determine the value of this cell.SetsCube: Cube containing the cell that is a component of the calculation.statements(@Nullable List<String> statements) SetsStatements: The rule statement that populates this cell.status(@Nullable CellStatus status) SetsStatus: The status of the cell, that is, NULL, DATA, or ERROR.tuple(@Nullable List<ElementPatch> tuple) SetsTuple: Coordinates of the cell that is a component of the calculation.type(@Nullable CalculationType type) SetsType: The type of calculation (consolidation or rule-driven) that populates this cell.SetsValue: The value of this cell.
-
Method Details
-
type
SetsType: The type of calculation (consolidation or rule-driven) that populates this cell.- Parameters:
type- the value;nullsends an explicitnull- Returns:
- this builder
-
status
SetsStatus: The status of the cell, that is, NULL, DATA, or ERROR.- Parameters:
status- the value;nullsends an explicitnull- Returns:
- this builder
-
value
SetsValue: The value of this cell.- Parameters:
value- the value;nullsends an explicitnull- Returns:
- this builder
-
statements
SetsStatements: The rule statement that populates this cell.- Parameters:
statements- the value;nullsends an explicitnull- Returns:
- this builder
-
components
public CalculationComponentPatch.Builder components(@Nullable List<CalculationComponentPatch> components) SetsComponents: The set of components that determine the value of this cell.- Parameters:
components- the value;nullsends an explicitnull- Returns:
- this builder
-
cube
SetsCube: Cube containing the cell that is a component of the calculation. (nested, for a deep insert)- Parameters:
cube- the value;nullsends an explicitnull- Returns:
- this builder
-
bindCube
BindsCubeto an existing entity (Cube@odata.bind).- Parameters:
target- the entity's path- Returns:
- this builder
-
tuple
SetsTuple: Coordinates of the cell that is a component of the calculation. (nested, for a deep insert)- Parameters:
tuple- the value;nullsends an explicitnull- Returns:
- this builder
-
bindTuple
BindsTupleto existing entities (Tuple@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
build
-