Package com.appliedolap.essbase
Record Class EssCubeView.GridPreferences
java.lang.Object
java.lang.Record
com.appliedolap.essbase.EssCubeView.GridPreferences
- Record Components:
indentation- member row/column indentation stylesuppressMissingRows- whether to suppress rows whose data cells are all #MissingsuppressZeroRows- whether to suppress rows whose data cells are all zerosuppressUnderscoreRows- whether to suppress rows whose member name starts with "_"repeatMemberLabels- whether a member label repeats down every row of its group, or only appears once at the top of the groupzoomInPreference- the server's default zoom-in depth for a plainEssCubeView.zoomIn(int, int)includeSelection- whether zooming in keeps the zoomed-on member alongside its new children, rather than replacing it with just the childrenwithinSelectedGroup- whether a zoom stays scoped to the selected group rather than applying to every member at that levelremoveUnselectedGroup- whether zooming in removes sibling groups that weren't selected
- Enclosing interface:
- EssCubeView
public static record EssCubeView.GridPreferences(EssCubeView.Indentation indentation, boolean suppressMissingRows, boolean suppressZeroRows, boolean suppressUnderscoreRows, boolean repeatMemberLabels, EssCubeView.ZoomInPreference zoomInPreference, boolean includeSelection, boolean withinSelectedGroup, boolean removeUnselectedGroup)
extends Record
Ad hoc display/navigation preferences, mirroring the classic "Essbase Options" dialog to the
extent the REST wire format supports. These are stored server-side per login session (the wire
resource is
/preferences/grid, with no application/database/cube in its path) - they
apply to every subsequent grid operation for this connection, not just this one view, and they
persist until changed again or the session ends.
Verified live against a real server: indentation, zoomInPreference, and
repeatMemberLabels each visibly change the next retrieve/zoom's output. suppressMissingRows, suppressZeroRows, suppressUnderscoreRows, includeSelection, withinSelectedGroup, and removeUnselectedGroup are wired
through (the wire fields exist and accept the value) but not yet confirmed to have a visible
effect - suppression in particular needs a grid with genuine missing/zero data cells to test
against, not just member structure, and wasn't confirmed either way.
-
Constructor Summary
ConstructorsConstructorDescriptionGridPreferences(EssCubeView.Indentation indentation, boolean suppressMissingRows, boolean suppressZeroRows, boolean suppressUnderscoreRows, boolean repeatMemberLabels, EssCubeView.ZoomInPreference zoomInPreference, boolean includeSelection, boolean withinSelectedGroup, boolean removeUnselectedGroup) Creates an instance of aGridPreferencesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theincludeSelectionrecord component.Returns the value of theindentationrecord component.booleanReturns the value of theremoveUnselectedGrouprecord component.booleanReturns the value of therepeatMemberLabelsrecord component.booleanReturns the value of thesuppressMissingRowsrecord component.booleanReturns the value of thesuppressUnderscoreRowsrecord component.booleanReturns the value of thesuppressZeroRowsrecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of thewithinSelectedGrouprecord component.Returns the value of thezoomInPreferencerecord component.
-
Constructor Details
-
GridPreferences
public GridPreferences(EssCubeView.Indentation indentation, boolean suppressMissingRows, boolean suppressZeroRows, boolean suppressUnderscoreRows, boolean repeatMemberLabels, EssCubeView.ZoomInPreference zoomInPreference, boolean includeSelection, boolean withinSelectedGroup, boolean removeUnselectedGroup) Creates an instance of aGridPreferencesrecord class.- Parameters:
indentation- the value for theindentationrecord componentsuppressMissingRows- the value for thesuppressMissingRowsrecord componentsuppressZeroRows- the value for thesuppressZeroRowsrecord componentsuppressUnderscoreRows- the value for thesuppressUnderscoreRowsrecord componentrepeatMemberLabels- the value for therepeatMemberLabelsrecord componentzoomInPreference- the value for thezoomInPreferencerecord componentincludeSelection- the value for theincludeSelectionrecord componentwithinSelectedGroup- the value for thewithinSelectedGrouprecord componentremoveUnselectedGroup- the value for theremoveUnselectedGrouprecord 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 '=='. -
indentation
Returns the value of theindentationrecord component.- Returns:
- the value of the
indentationrecord component
-
suppressMissingRows
public boolean suppressMissingRows()Returns the value of thesuppressMissingRowsrecord component.- Returns:
- the value of the
suppressMissingRowsrecord component
-
suppressZeroRows
public boolean suppressZeroRows()Returns the value of thesuppressZeroRowsrecord component.- Returns:
- the value of the
suppressZeroRowsrecord component
-
suppressUnderscoreRows
public boolean suppressUnderscoreRows()Returns the value of thesuppressUnderscoreRowsrecord component.- Returns:
- the value of the
suppressUnderscoreRowsrecord component
-
repeatMemberLabels
public boolean repeatMemberLabels()Returns the value of therepeatMemberLabelsrecord component.- Returns:
- the value of the
repeatMemberLabelsrecord component
-
zoomInPreference
Returns the value of thezoomInPreferencerecord component.- Returns:
- the value of the
zoomInPreferencerecord component
-
includeSelection
public boolean includeSelection()Returns the value of theincludeSelectionrecord component.- Returns:
- the value of the
includeSelectionrecord component
-
withinSelectedGroup
public boolean withinSelectedGroup()Returns the value of thewithinSelectedGrouprecord component.- Returns:
- the value of the
withinSelectedGrouprecord component
-
removeUnselectedGroup
public boolean removeUnselectedGroup()Returns the value of theremoveUnselectedGrouprecord component.- Returns:
- the value of the
removeUnselectedGrouprecord component
-