Record Class Hierarchy

java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.Hierarchy
Record Components:
etag - the entity's ETag (@odata.etag), for If-Match
name - The name of the hierarchy.
uniqueName - The caption of the hierarchy.
cardinality - The cardinality of a relationship is the number of related rows for each of the two query subjects.
structure - Specifies whether the hierarchy is balanced or unbalanced.
visible - Indicates if this hierarchy should be visible to consumers. (since 11.0.0)
attributes - The attributes of the hierarchy.
dimension - A dimension that is part of the hierarchy. (when expanded)
elements - The elements of the hierarchy. (when expanded)
edges - The edges of the hierarchy. (when expanded)
subsets - The subsets of the hierarchy. (when expanded)
privateSubsets - The private subsets of the hierarchy. (when expanded)
sessionSubsets - The session-scoped subsets generated on this hierarchy. (when expanded)
members - The members of the hierarchy. (when expanded)
allMember - An aggregation of all of the members of the hierarchy. (when expanded)
defaultMember - The default member of the hierarchy. (when expanded)
levels - A collection of levels in the hierarchy. (when expanded)
localizedAttributes - Translated string values for properties of the hierarchy. (when expanded)
elementAttributes - The attributes of the elements of the hierarchy. (when expanded) (since 10.2.2.1)
subsetAttributes - The attributes of the subsets of the hierarchy. (when expanded)

@Generated("io.skipcheck.tm1.codegen") public record Hierarchy(@Nullable String etag, @Nullable String name, @Nullable String uniqueName, @Nullable Integer cardinality, @Nullable Integer structure, @Since("11.0.0") @Nullable Boolean visible, @Nullable Attributes attributes, @Nullable Dimension dimension, @Nullable List<Element> elements, @Nullable List<Edge> edges, @Nullable List<Subset> subsets, @Nullable List<Subset> privateSubsets, @Nullable List<Subset> sessionSubsets, @Nullable List<Member> members, @Nullable Member allMember, @Nullable Member defaultMember, @Nullable List<Level> levels, @Nullable List<LocalizedAttributes> localizedAttributes, @Since("10.2.2.1") @Nullable List<AttributeDefinition> elementAttributes, @Nullable List<AttributeDefinition> subsetAttributes) extends Record
A hierarchy organizes dimensions into a hierarchical structure, with each dimension representing a different level of the hierarchy.

Generated from $metadata. Every component is nullable: $select can leave any property out, and navigation properties are only there when expanded. Null components aren't sent.

  • Field Details

    • NAME

      public static final ODataProperty NAME
      Name, for queries: The name of the hierarchy.
    • UNIQUE_NAME

      public static final ODataProperty UNIQUE_NAME
      UniqueName, for queries: The caption of the hierarchy.
    • CARDINALITY

      public static final ODataProperty CARDINALITY
      Cardinality, for queries: The cardinality of a relationship is the number of related rows for each of the two query subjects.
    • STRUCTURE

      public static final ODataProperty STRUCTURE
      Structure, for queries: Specifies whether the hierarchy is balanced or unbalanced.
    • VISIBLE

      @Since("11.0.0") public static final ODataProperty VISIBLE
      Visible, for queries: Indicates if this hierarchy should be visible to consumers.
    • ATTRIBUTES

      public static final ODataProperty ATTRIBUTES
      Attributes, for queries: The attributes of the hierarchy.
    • DIMENSION

      public static final ODataProperty DIMENSION
      Dimension, for queries: A dimension that is part of the hierarchy. (a navigation property, for $expand)
    • ELEMENTS

      public static final ODataProperty ELEMENTS
      Elements, for queries: The elements of the hierarchy. (a navigation property, for $expand)
    • EDGES

      public static final ODataProperty EDGES
      Edges, for queries: The edges of the hierarchy. (a navigation property, for $expand)
    • SUBSETS

      public static final ODataProperty SUBSETS
      Subsets, for queries: The subsets of the hierarchy. (a navigation property, for $expand)
    • PRIVATE_SUBSETS

      public static final ODataProperty PRIVATE_SUBSETS
      PrivateSubsets, for queries: The private subsets of the hierarchy. (a navigation property, for $expand)
    • SESSION_SUBSETS

      public static final ODataProperty SESSION_SUBSETS
      SessionSubsets, for queries: The session-scoped subsets generated on this hierarchy. (a navigation property, for $expand)
    • MEMBERS

      public static final ODataProperty MEMBERS
      Members, for queries: The members of the hierarchy. (a navigation property, for $expand)
    • ALL_MEMBER

      public static final ODataProperty ALL_MEMBER
      AllMember, for queries: An aggregation of all of the members of the hierarchy. (a navigation property, for $expand)
    • DEFAULT_MEMBER

      public static final ODataProperty DEFAULT_MEMBER
      DefaultMember, for queries: The default member of the hierarchy. (a navigation property, for $expand)
    • LEVELS

      public static final ODataProperty LEVELS
      Levels, for queries: A collection of levels in the hierarchy. (a navigation property, for $expand)
    • LOCALIZED_ATTRIBUTES

      public static final ODataProperty LOCALIZED_ATTRIBUTES
      LocalizedAttributes, for queries: Translated string values for properties of the hierarchy. (a navigation property, for $expand)
    • ELEMENT_ATTRIBUTES

      @Since("10.2.2.1") public static final ODataProperty ELEMENT_ATTRIBUTES
      ElementAttributes, for queries: The attributes of the elements of the hierarchy. (a navigation property, for $expand)
    • SUBSET_ATTRIBUTES

      public static final ODataProperty SUBSET_ATTRIBUTES
      SubsetAttributes, for queries: The attributes of the subsets of the hierarchy. (a navigation property, for $expand)
  • Constructor Details

  • 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. All components in this record class are compared with Objects::equals(Object,Object).
      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.
    • etag

      public @Nullable String etag()
      Returns the value of the etag record component.
      Returns:
      the value of the etag record component
    • name

      public @Nullable String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • uniqueName

      public @Nullable String uniqueName()
      Returns the value of the uniqueName record component.
      Returns:
      the value of the uniqueName record component
    • cardinality

      public @Nullable Integer cardinality()
      Returns the value of the cardinality record component.
      Returns:
      the value of the cardinality record component
    • structure

      public @Nullable Integer structure()
      Returns the value of the structure record component.
      Returns:
      the value of the structure record component
    • visible

      @Since("11.0.0") public @Nullable Boolean visible()
      Returns the value of the visible record component.
      Returns:
      the value of the visible record component
    • attributes

      public @Nullable Attributes attributes()
      Returns the value of the attributes record component.
      Returns:
      the value of the attributes record component
    • dimension

      public @Nullable Dimension dimension()
      Returns the value of the dimension record component.
      Returns:
      the value of the dimension record component
    • elements

      public @Nullable List<Element> elements()
      Returns the value of the elements record component.
      Returns:
      the value of the elements record component
    • edges

      public @Nullable List<Edge> edges()
      Returns the value of the edges record component.
      Returns:
      the value of the edges record component
    • subsets

      public @Nullable List<Subset> subsets()
      Returns the value of the subsets record component.
      Returns:
      the value of the subsets record component
    • privateSubsets

      public @Nullable List<Subset> privateSubsets()
      Returns the value of the privateSubsets record component.
      Returns:
      the value of the privateSubsets record component
    • sessionSubsets

      public @Nullable List<Subset> sessionSubsets()
      Returns the value of the sessionSubsets record component.
      Returns:
      the value of the sessionSubsets record component
    • members

      public @Nullable List<Member> members()
      Returns the value of the members record component.
      Returns:
      the value of the members record component
    • allMember

      public @Nullable Member allMember()
      Returns the value of the allMember record component.
      Returns:
      the value of the allMember record component
    • defaultMember

      public @Nullable Member defaultMember()
      Returns the value of the defaultMember record component.
      Returns:
      the value of the defaultMember record component
    • levels

      public @Nullable List<Level> levels()
      Returns the value of the levels record component.
      Returns:
      the value of the levels record component
    • localizedAttributes

      public @Nullable List<LocalizedAttributes> localizedAttributes()
      Returns the value of the localizedAttributes record component.
      Returns:
      the value of the localizedAttributes record component
    • elementAttributes

      @Since("10.2.2.1") public @Nullable List<AttributeDefinition> elementAttributes()
      Returns the value of the elementAttributes record component.
      Returns:
      the value of the elementAttributes record component
    • subsetAttributes

      public @Nullable List<AttributeDefinition> subsetAttributes()
      Returns the value of the subsetAttributes record component.
      Returns:
      the value of the subsetAttributes record component