Record Class Element
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.Element
- Record Components:
etag- the entity's ETag (@odata.etag), forIf-Matchname- The name of the element.uniqueName- The element's invariant name.type- The type of the element, one of Numeric, String, or Consolidated.level- The level to which the element belongs within the dimension hierarchy.index- A value that corresponds to the position of the element within a dimension.attributes- The attributes of the element.hierarchy- The hierarchy of the element in the dimension. (when expanded)parents- The parent element of the element in the hierarchy. (when expanded)components- The collection of elements in the dimension. (when expanded)edges- The collection of edges in the dimension. (when expanded)localizedAttributes- Translated string values for properties of the element. (when expanded)
@Generated("io.skipcheck.tm1.codegen")
public record Element(@Nullable String etag, @Nullable String name, @Nullable String uniqueName, @Nullable ElementType type, @Nullable Integer level, @Nullable Integer index, @Nullable Attributes attributes, @Nullable Hierarchy hierarchy, @Nullable List<Element> parents, @Nullable List<Element> components, @Nullable List<Edge> edges, @Nullable List<LocalizedAttributes> localizedAttributes)
extends Record
An element in a dimension that identifies the location of a cell in a cube.
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final ODataPropertyAttributes, for queries: The attributes of the element.static final ODataPropertyComponents, for queries: The collection of elements in the dimension.static final ODataPropertyEdges, for queries: The collection of edges in the dimension.static final ODataPropertyHierarchy, for queries: The hierarchy of the element in the dimension.static final ODataPropertyIndex, for queries: A value that corresponds to the position of the element within a dimension.static final ODataPropertyLevel, for queries: The level to which the element belongs within the dimension hierarchy.static final ODataPropertyLocalizedAttributes, for queries: Translated string values for properties of the element.static final ODataPropertyName, for queries: The name of the element.static final ODataPropertyParents, for queries: The parent element of the element in the hierarchy.static final ODataPropertyType, for queries: The type of the element, one of Numeric, String, or Consolidated.static final ODataPropertyUniqueName, for queries: The element's invariant name. -
Constructor Summary
ConstructorsConstructorDescriptionElement(@Nullable String etag, @Nullable String name, @Nullable String uniqueName, @Nullable ElementType type, @Nullable Integer level, @Nullable Integer index, @Nullable Attributes attributes, @Nullable Hierarchy hierarchy, @Nullable List<Element> parents, @Nullable List<Element> components, @Nullable List<Edge> edges, @Nullable List<LocalizedAttributes> localizedAttributes) Creates an instance of aElementrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable AttributesReturns the value of theattributesrecord component.Returns the value of thecomponentsrecord component.edges()Returns the value of theedgesrecord component.final booleanIndicates whether some other object is "equal to" this one.@Nullable Stringetag()Returns the value of theetagrecord component.final inthashCode()Returns a hash code value for this object.@Nullable HierarchyReturns the value of thehierarchyrecord component.@Nullable Integerindex()Returns the value of theindexrecord component.@Nullable Integerlevel()Returns the value of thelevelrecord component.@Nullable List<LocalizedAttributes> Returns the value of thelocalizedAttributesrecord component.@Nullable Stringname()Returns the value of thenamerecord component.parents()Returns the value of theparentsrecord component.final StringtoString()Returns a string representation of this record class.@Nullable ElementTypetype()Returns the value of thetyperecord component.@Nullable StringReturns the value of theuniqueNamerecord component.
-
Field Details
-
NAME
Name, for queries: The name of the element. -
UNIQUE_NAME
UniqueName, for queries: The element's invariant name. -
TYPE
Type, for queries: The type of the element, one of Numeric, String, or Consolidated. -
LEVEL
Level, for queries: The level to which the element belongs within the dimension hierarchy. -
INDEX
Index, for queries: A value that corresponds to the position of the element within a dimension. -
ATTRIBUTES
Attributes, for queries: The attributes of the element. -
HIERARCHY
Hierarchy, for queries: The hierarchy of the element in the dimension. (a navigation property, for$expand) -
PARENTS
Parents, for queries: The parent element of the element in the hierarchy. (a navigation property, for$expand) -
COMPONENTS
Components, for queries: The collection of elements in the dimension. (a navigation property, for$expand) -
EDGES
Edges, for queries: The collection of edges in the dimension. (a navigation property, for$expand) -
LOCALIZED_ATTRIBUTES
LocalizedAttributes, for queries: Translated string values for properties of the element. (a navigation property, for$expand)
-
-
Constructor Details
-
Element
public Element(@Nullable String etag, @Nullable String name, @Nullable String uniqueName, @Nullable ElementType type, @Nullable Integer level, @Nullable Integer index, @Nullable Attributes attributes, @Nullable Hierarchy hierarchy, @Nullable List<Element> parents, @Nullable List<Element> components, @Nullable List<Edge> edges, @Nullable List<LocalizedAttributes> localizedAttributes) Creates an instance of aElementrecord class.- Parameters:
etag- the value for theetagrecord componentname- the value for thenamerecord componentuniqueName- the value for theuniqueNamerecord componenttype- the value for thetyperecord componentlevel- the value for thelevelrecord componentindex- the value for theindexrecord componentattributes- the value for theattributesrecord componenthierarchy- the value for thehierarchyrecord componentparents- the value for theparentsrecord componentcomponents- the value for thecomponentsrecord componentedges- the value for theedgesrecord componentlocalizedAttributes- the value for thelocalizedAttributesrecord 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). -
etag
-
name
-
uniqueName
Returns the value of theuniqueNamerecord component.- Returns:
- the value of the
uniqueNamerecord component
-
type
-
level
-
index
-
attributes
Returns the value of theattributesrecord component.- Returns:
- the value of the
attributesrecord component
-
hierarchy
-
parents
-
components
Returns the value of thecomponentsrecord component.- Returns:
- the value of the
componentsrecord component
-
edges
-
localizedAttributes
Returns the value of thelocalizedAttributesrecord component.- Returns:
- the value of the
localizedAttributesrecord component
-