Record Class Dimension
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.Dimension
- Record Components:
etag- the entity's ETag (@odata.etag), forIf-Matchname- The name of the dimension.uniqueName- The caption for the dimension.allLeavesHierarchyName- The name of the all leaves hierarchy in a dimension with alternate hierarchies. (since 11.0.0)attributes- A property of the dimension.hierarchies- More specific groupings within a dimension. (when expanded)defaultHierarchy- The default hierarchy of the dimension. (when expanded) (since 10.2.2.5)hierarchyAttributes- Attributes of a hierarchy. (when expanded)localizedAttributes- Translated string values for properties of the dimensions. (when expanded)
@Generated("io.skipcheck.tm1.codegen")
public record Dimension(@Nullable String etag, @Nullable String name, @Nullable String uniqueName, @Since("11.0.0") @Nullable String allLeavesHierarchyName, @Nullable Attributes attributes, @Nullable List<Hierarchy> hierarchies, @Since("10.2.2.5") @Nullable Hierarchy defaultHierarchy, @Nullable List<AttributeDefinition> hierarchyAttributes, @Nullable List<LocalizedAttributes> localizedAttributes)
extends Record
Represents a single dimension on a TM1 server.
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 ODataPropertyAllLeavesHierarchyName, for queries: The name of the all leaves hierarchy in a dimension with alternate hierarchies.static final ODataPropertyAttributes, for queries: A property of the dimension.static final ODataPropertyDefaultHierarchy, for queries: The default hierarchy of the dimension.static final ODataPropertyHierarchies, for queries: More specific groupings within a dimension.static final ODataPropertyHierarchyAttributes, for queries: Attributes of a hierarchy.static final ODataPropertyLocalizedAttributes, for queries: Translated string values for properties of the dimensions.static final ODataPropertyName, for queries: The name of the dimension.static final ODataPropertyUniqueName, for queries: The caption for the dimension. -
Constructor Summary
ConstructorsConstructorDescriptionDimension(@Nullable String etag, @Nullable String name, @Nullable String uniqueName, @Nullable String allLeavesHierarchyName, @Nullable Attributes attributes, @Nullable List<Hierarchy> hierarchies, @Nullable Hierarchy defaultHierarchy, @Nullable List<AttributeDefinition> hierarchyAttributes, @Nullable List<LocalizedAttributes> localizedAttributes) Creates an instance of aDimensionrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the value of theallLeavesHierarchyNamerecord component.@Nullable AttributesReturns the value of theattributesrecord component.@Nullable HierarchyReturns the value of thedefaultHierarchyrecord 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.Returns the value of thehierarchiesrecord component.@Nullable List<AttributeDefinition> Returns the value of thehierarchyAttributesrecord component.@Nullable List<LocalizedAttributes> Returns the value of thelocalizedAttributesrecord component.@Nullable Stringname()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.@Nullable StringReturns the value of theuniqueNamerecord component.
-
Field Details
-
NAME
Name, for queries: The name of the dimension. -
UNIQUE_NAME
UniqueName, for queries: The caption for the dimension. -
ALL_LEAVES_HIERARCHY_NAME
AllLeavesHierarchyName, for queries: The name of the all leaves hierarchy in a dimension with alternate hierarchies. -
ATTRIBUTES
Attributes, for queries: A property of the dimension. -
HIERARCHIES
Hierarchies, for queries: More specific groupings within a dimension. (a navigation property, for$expand) -
DEFAULT_HIERARCHY
DefaultHierarchy, for queries: The default hierarchy of the dimension. (a navigation property, for$expand) -
HIERARCHY_ATTRIBUTES
HierarchyAttributes, for queries: Attributes of a hierarchy. (a navigation property, for$expand) -
LOCALIZED_ATTRIBUTES
LocalizedAttributes, for queries: Translated string values for properties of the dimensions. (a navigation property, for$expand)
-
-
Constructor Details
-
Dimension
public Dimension(@Nullable String etag, @Nullable String name, @Nullable String uniqueName, @Nullable String allLeavesHierarchyName, @Nullable Attributes attributes, @Nullable List<Hierarchy> hierarchies, @Nullable Hierarchy defaultHierarchy, @Nullable List<AttributeDefinition> hierarchyAttributes, @Nullable List<LocalizedAttributes> localizedAttributes) Creates an instance of aDimensionrecord class.- Parameters:
etag- the value for theetagrecord componentname- the value for thenamerecord componentuniqueName- the value for theuniqueNamerecord componentallLeavesHierarchyName- the value for theallLeavesHierarchyNamerecord componentattributes- the value for theattributesrecord componenthierarchies- the value for thehierarchiesrecord componentdefaultHierarchy- the value for thedefaultHierarchyrecord componenthierarchyAttributes- the value for thehierarchyAttributesrecord 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
-
allLeavesHierarchyName
Returns the value of theallLeavesHierarchyNamerecord component.- Returns:
- the value of the
allLeavesHierarchyNamerecord component
-
attributes
Returns the value of theattributesrecord component.- Returns:
- the value of the
attributesrecord component
-
hierarchies
Returns the value of thehierarchiesrecord component.- Returns:
- the value of the
hierarchiesrecord component
-
defaultHierarchy
Returns the value of thedefaultHierarchyrecord component.- Returns:
- the value of the
defaultHierarchyrecord component
-
hierarchyAttributes
Returns the value of thehierarchyAttributesrecord component.- Returns:
- the value of the
hierarchyAttributesrecord component
-
localizedAttributes
Returns the value of thelocalizedAttributesrecord component.- Returns:
- the value of the
localizedAttributesrecord component
-