Record Class EssCubeView.CellEdit

java.lang.Object
java.lang.Record
com.appliedolap.essbase.EssCubeView.CellEdit
Record Components:
row - the data cell's row
col - the data cell's column
value - the value to write
Enclosing interface:
EssCubeView

public static record EssCubeView.CellEdit(int row, int col, String value) extends Record
A new value for one data cell.

The value is a string rather than a number because not every value a data cell takes is one: clearing a cell submits the empty string, and a text or date measure submits neither. Parsing it into a double here would only mean turning it back into a string for the wire, having lost the cases that are not doubles on the way.

  • Constructor Summary

    Constructors
    Constructor
    Description
    CellEdit(int row, int col, String value)
    Creates an instance of a CellEdit record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    col()
    Returns the value of the col record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    int
    row()
    Returns the value of the row record component.
    final String
    Returns a string representation of this record class.
    Returns the value of the value record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CellEdit

      public CellEdit(int row, int col, String value)
      Creates an instance of a CellEdit record class.
      Parameters:
      row - the value for the row record component
      col - the value for the col record component
      value - the value for the value record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • row

      public int row()
      Returns the value of the row record component.
      Returns:
      the value of the row record component
    • col

      public int col()
      Returns the value of the col record component.
      Returns:
      the value of the col record component
    • value

      public String value()
      Returns the value of the value record component.
      Returns:
      the value of the value record component