Class HierarchyPatch.Builder
java.lang.Object
io.skipcheck.tm1.client.model.HierarchyPatch.Builder
- Enclosing class:
HierarchyPatch
Builds a
HierarchyPatch; each setter replaces what an earlier call set.-
Method Summary
Modifier and TypeMethodDescriptionallMember(@Nullable MemberPatch allMember) SetsAllMember: An aggregation of all of the members of the hierarchy.attributes(@Nullable AttributesPatch attributes) SetsAttributes: The attributes of the hierarchy.bindAllMember(ODataPath target) BindsAllMemberto an existing entity (AllMember@odata.bind).bindDefaultMember(ODataPath target) BindsDefaultMemberto an existing entity (DefaultMember@odata.bind).bindDimension(ODataPath target) BindsDimensionto an existing entity (Dimension@odata.bind).BindsEdgesto existing entities (Edges@odata.bind).bindElementAttributes(ODataPath... targets) BindsElementAttributesto existing entities (ElementAttributes@odata.bind).bindElements(ODataPath... targets) BindsElementsto existing entities (Elements@odata.bind).bindLevels(ODataPath... targets) BindsLevelsto existing entities (Levels@odata.bind).bindLocalizedAttributes(ODataPath... targets) BindsLocalizedAttributesto existing entities (LocalizedAttributes@odata.bind).bindMembers(ODataPath... targets) BindsMembersto existing entities (Members@odata.bind).bindPrivateSubsets(ODataPath... targets) BindsPrivateSubsetsto existing entities (PrivateSubsets@odata.bind).bindSessionSubsets(ODataPath... targets) BindsSessionSubsetsto existing entities (SessionSubsets@odata.bind).bindSubsetAttributes(ODataPath... targets) BindsSubsetAttributesto existing entities (SubsetAttributes@odata.bind).bindSubsets(ODataPath... targets) BindsSubsetsto existing entities (Subsets@odata.bind).build()The patch, with what's been set so far.cardinality(@Nullable Integer cardinality) SetsCardinality: The cardinality of a relationship is the number of related rows for each of the two query subjects.defaultMember(@Nullable MemberPatch defaultMember) SetsDefaultMember: The default member of the hierarchy.dimension(@Nullable DimensionPatch dimension) SetsDimension: A dimension that is part of the hierarchy.SetsEdges: The edges of the hierarchy.elementAttributes(@Nullable List<AttributeDefinitionPatch> elementAttributes) SetsElementAttributes: The attributes of the elements of the hierarchy.elements(@Nullable List<ElementPatch> elements) SetsElements: The elements of the hierarchy.levels(@Nullable List<LevelPatch> levels) SetsLevels: A collection of levels in the hierarchy.localizedAttributes(@Nullable List<LocalizedAttributesPatch> localizedAttributes) SetsLocalizedAttributes: Translated string values for properties of the hierarchy.members(@Nullable List<? extends MemberPatch> members) SetsMembers: The members of the hierarchy.SetsName: The name of the hierarchy.privateSubsets(@Nullable List<SubsetPatch> privateSubsets) SetsPrivateSubsets: The private subsets of the hierarchy.sessionSubsets(@Nullable List<SubsetPatch> sessionSubsets) SetsSessionSubsets: The session-scoped subsets generated on this hierarchy.SetsStructure: Specifies whether the hierarchy is balanced or unbalanced.subsetAttributes(@Nullable List<AttributeDefinitionPatch> subsetAttributes) SetsSubsetAttributes: The attributes of the subsets of the hierarchy.subsets(@Nullable List<SubsetPatch> subsets) SetsSubsets: The subsets of the hierarchy.uniqueName(@Nullable String uniqueName) SetsUniqueName: The caption of the hierarchy.SetsVisible: Indicates if this hierarchy should be visible to consumers.
-
Method Details
-
name
SetsName: The name of the hierarchy.- Parameters:
name- the value;nullsends an explicitnull- Returns:
- this builder
-
uniqueName
SetsUniqueName: The caption of the hierarchy.- Parameters:
uniqueName- the value;nullsends an explicitnull- Returns:
- this builder
-
cardinality
SetsCardinality: The cardinality of a relationship is the number of related rows for each of the two query subjects.- Parameters:
cardinality- the value;nullsends an explicitnull- Returns:
- this builder
-
structure
SetsStructure: Specifies whether the hierarchy is balanced or unbalanced.- Parameters:
structure- the value;nullsends an explicitnull- Returns:
- this builder
-
visible
SetsVisible: Indicates if this hierarchy should be visible to consumers.- Parameters:
visible- the value;nullsends an explicitnull- Returns:
- this builder
-
attributes
SetsAttributes: The attributes of the hierarchy.- Parameters:
attributes- the value;nullsends an explicitnull- Returns:
- this builder
-
dimension
SetsDimension: A dimension that is part of the hierarchy. (nested, for a deep insert)- Parameters:
dimension- the value;nullsends an explicitnull- Returns:
- this builder
-
bindDimension
BindsDimensionto an existing entity (Dimension@odata.bind).- Parameters:
target- the entity's path- Returns:
- this builder
-
elements
SetsElements: The elements of the hierarchy. (nested, for a deep insert)- Parameters:
elements- the value;nullsends an explicitnull- Returns:
- this builder
-
bindElements
BindsElementsto existing entities (Elements@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
edges
SetsEdges: The edges of the hierarchy. (nested, for a deep insert)- Parameters:
edges- the value;nullsends an explicitnull- Returns:
- this builder
-
bindEdges
BindsEdgesto existing entities (Edges@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
subsets
SetsSubsets: The subsets of the hierarchy. (nested, for a deep insert)- Parameters:
subsets- the value;nullsends an explicitnull- Returns:
- this builder
-
bindSubsets
BindsSubsetsto existing entities (Subsets@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
privateSubsets
SetsPrivateSubsets: The private subsets of the hierarchy. (nested, for a deep insert)- Parameters:
privateSubsets- the value;nullsends an explicitnull- Returns:
- this builder
-
bindPrivateSubsets
BindsPrivateSubsetsto existing entities (PrivateSubsets@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
sessionSubsets
SetsSessionSubsets: The session-scoped subsets generated on this hierarchy. (nested, for a deep insert)- Parameters:
sessionSubsets- the value;nullsends an explicitnull- Returns:
- this builder
-
bindSessionSubsets
BindsSessionSubsetsto existing entities (SessionSubsets@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
members
SetsMembers: The members of the hierarchy. (nested, for a deep insert)- Parameters:
members- the value;nullsends an explicitnull- Returns:
- this builder
-
bindMembers
BindsMembersto existing entities (Members@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
allMember
SetsAllMember: An aggregation of all of the members of the hierarchy. (nested, for a deep insert)- Parameters:
allMember- the value;nullsends an explicitnull- Returns:
- this builder
-
bindAllMember
BindsAllMemberto an existing entity (AllMember@odata.bind).- Parameters:
target- the entity's path- Returns:
- this builder
-
defaultMember
SetsDefaultMember: The default member of the hierarchy. (nested, for a deep insert)- Parameters:
defaultMember- the value;nullsends an explicitnull- Returns:
- this builder
-
bindDefaultMember
BindsDefaultMemberto an existing entity (DefaultMember@odata.bind).- Parameters:
target- the entity's path- Returns:
- this builder
-
levels
SetsLevels: A collection of levels in the hierarchy. (nested, for a deep insert)- Parameters:
levels- the value;nullsends an explicitnull- Returns:
- this builder
-
bindLevels
BindsLevelsto existing entities (Levels@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
localizedAttributes
public HierarchyPatch.Builder localizedAttributes(@Nullable List<LocalizedAttributesPatch> localizedAttributes) SetsLocalizedAttributes: Translated string values for properties of the hierarchy. (nested, for a deep insert)- Parameters:
localizedAttributes- the value;nullsends an explicitnull- Returns:
- this builder
-
bindLocalizedAttributes
BindsLocalizedAttributesto existing entities (LocalizedAttributes@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
elementAttributes
@Since("10.2.2.1") public HierarchyPatch.Builder elementAttributes(@Nullable List<AttributeDefinitionPatch> elementAttributes) SetsElementAttributes: The attributes of the elements of the hierarchy. (nested, for a deep insert)- Parameters:
elementAttributes- the value;nullsends an explicitnull- Returns:
- this builder
-
bindElementAttributes
BindsElementAttributesto existing entities (ElementAttributes@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
subsetAttributes
public HierarchyPatch.Builder subsetAttributes(@Nullable List<AttributeDefinitionPatch> subsetAttributes) SetsSubsetAttributes: The attributes of the subsets of the hierarchy. (nested, for a deep insert)- Parameters:
subsetAttributes- the value;nullsends an explicitnull- Returns:
- this builder
-
bindSubsetAttributes
BindsSubsetAttributesto existing entities (SubsetAttributes@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
build
-