Record Class CalculationComponent
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.CalculationComponent
- Record Components:
type- The type of calculation (consolidation or rule-driven) that populates this cell.status- The status of the cell, that is, NULL, DATA, or ERROR. (since 11.8.6)value- The value of this cell.statements- The rule statement that populates this cell.components- The set of components that determine the value of this cell.cube- Cube containing the cell that is a component of the calculation. (when expanded)tuple- Coordinates of the cell that is a component of the calculation. (when expanded)
@Generated("io.skipcheck.tm1.codegen")
@Since("11.1.0")
public record CalculationComponent(@Nullable CalculationType type, @Since("11.8.6") @Nullable CellStatus status, @Nullable tools.jackson.databind.JsonNode value, @Nullable List<String> statements, @Nullable List<CalculationComponent> components, @Nullable Cube cube, @Nullable List<Element> tuple)
extends Record
The
CalculationComponent complex type of the TM1 REST API.
Generated from $metadata. Every component is nullable: $select can leave any property out. Null components aren't sent.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ODataPropertyComponents, for queries: The set of components that determine the value of this cell.static final ODataPropertyCube, for queries: Cube containing the cell that is a component of the calculation.static final ODataPropertyStatements, for queries: The rule statement that populates this cell.static final ODataPropertyStatus, for queries: The status of the cell, that is, NULL, DATA, or ERROR.static final ODataPropertyTuple, for queries: Coordinates of the cell that is a component of the calculation.static final ODataPropertyType, for queries: The type of calculation (consolidation or rule-driven) that populates this cell.static final ODataPropertyValue, for queries: The value of this cell. -
Constructor Summary
ConstructorsConstructorDescriptionCalculationComponent(@Nullable CalculationType type, @Nullable CellStatus status, @Nullable tools.jackson.databind.JsonNode value, @Nullable List<String> statements, @Nullable List<CalculationComponent> components, @Nullable Cube cube, @Nullable List<Element> tuple) Creates an instance of aCalculationComponentrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable List<CalculationComponent> Returns the value of thecomponentsrecord component.@Nullable Cubecube()Returns the value of thecuberecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thestatementsrecord component.@Nullable CellStatusstatus()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.tuple()Returns the value of thetuplerecord component.@Nullable CalculationTypetype()Returns the value of thetyperecord component.@Nullable tools.jackson.databind.JsonNodevalue()Returns the value of thevaluerecord component.
-
Field Details
-
TYPE
Type, for queries: The type of calculation (consolidation or rule-driven) that populates this cell. -
STATUS
Status, for queries: The status of the cell, that is, NULL, DATA, or ERROR. -
VALUE
Value, for queries: The value of this cell. -
STATEMENTS
Statements, for queries: The rule statement that populates this cell. -
COMPONENTS
Components, for queries: The set of components that determine the value of this cell. -
CUBE
Cube, for queries: Cube containing the cell that is a component of the calculation. (a navigation property, for$expand) -
TUPLE
Tuple, for queries: Coordinates of the cell that is a component of the calculation. (a navigation property, for$expand)
-
-
Constructor Details
-
CalculationComponent
public CalculationComponent(@Nullable CalculationType type, @Nullable CellStatus status, @Nullable tools.jackson.databind.JsonNode value, @Nullable List<String> statements, @Nullable List<CalculationComponent> components, @Nullable Cube cube, @Nullable List<Element> tuple) Creates an instance of aCalculationComponentrecord class.- Parameters:
type- the value for thetyperecord componentstatus- the value for thestatusrecord componentvalue- the value for thevaluerecord componentstatements- the value for thestatementsrecord componentcomponents- the value for thecomponentsrecord componentcube- the value for thecuberecord componenttuple- the value for thetuplerecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
type
-
status
-
value
-
statements
Returns the value of thestatementsrecord component.- Returns:
- the value of the
statementsrecord component
-
components
Returns the value of thecomponentsrecord component.- Returns:
- the value of the
componentsrecord component
-
cube
-
tuple
-