Package com.appliedolap.essbase
Record Class EssCubeView.MemberPlacement
java.lang.Object
java.lang.Record
com.appliedolap.essbase.EssCubeView.MemberPlacement
- Record Components:
row- the row to place the member atcol- the column to place the member atmemberName- the member to place there
- Enclosing interface:
- EssCubeView
public static record EssCubeView.MemberPlacement(int row, int col, String memberName)
extends Record
A member to place at a specific grid position, replacing whichever member currently occupies
that spot on its row or column axis tier.
-
Constructor Summary
ConstructorsConstructorDescriptionMemberPlacement(int row, int col, String memberName) Creates an instance of aMemberPlacementrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintcol()Returns the value of thecolrecord 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 thememberNamerecord component.introw()Returns the value of therowrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MemberPlacement
Creates an instance of aMemberPlacementrecord class.- Parameters:
row- the value for therowrecord componentcol- the value for thecolrecord componentmemberName- the value for thememberNamerecord component
-
-
Method Details
-
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. -
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. -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
row
public int row()Returns the value of therowrecord component.- Returns:
- the value of the
rowrecord component
-
col
public int col()Returns the value of thecolrecord component.- Returns:
- the value of the
colrecord component
-
memberName
Returns the value of thememberNamerecord component.- Returns:
- the value of the
memberNamerecord component
-