Class MemberPatch.Builder
java.lang.Object
io.skipcheck.tm1.client.model.MemberPatch.Builder
- Direct Known Subclasses:
TupleMemberPatch.Builder
- Enclosing class:
MemberPatch
Builds a
MemberPatch; each setter replaces what an earlier call set.-
Method Summary
Modifier and TypeMethodDescriptionattributes(@Nullable AttributesPatch attributes) SetsAttributes: The attributes of the member.bindChildren(ODataPath... targets) BindsChildrento existing entities (Children@odata.bind).bindElement(ODataPath target) BindsElementto an existing entity (Element@odata.bind).bindHierarchy(ODataPath target) BindsHierarchyto an existing entity (Hierarchy@odata.bind).BindsLevelto an existing entity (Level@odata.bind).bindLocalizedAttributes(ODataPath... targets) BindsLocalizedAttributesto existing entities (LocalizedAttributes@odata.bind).bindParent(ODataPath target) BindsParentto an existing entity (Parent@odata.bind).build()The patch, with what's been set so far.children(@Nullable List<? extends MemberPatch> children) SetsChildren: The children of the member in the consolidation.element(@Nullable ElementPatch element) SetsElement: The member element.hierarchy(@Nullable HierarchyPatch hierarchy) SetsHierarchy: The hierarchy of the member.isPlaceholder(@Nullable Boolean isPlaceholder) SetsIsPlaceholder: A Boolean that indicates whether this member is a placeholder.level(@Nullable LevelPatch level) SetsLevel: The level within the hierarchy on which this member resides.localizedAttributes(@Nullable List<LocalizedAttributesPatch> localizedAttributes) SetsLocalizedAttributes: Translated string values for properties of the member.SetsName: The name of the member.SetsOrdinal: A number that identifies an entity's position in a series.parent(@Nullable MemberPatch parent) SetsParent: The parent of the member in the consolidation.type(@Nullable MemberType type) SetsType: The type of the member.uniqueName(@Nullable String uniqueName) SetsUniqueName: The name of the member, preceded by the name of the parent, for example, [dimension_name]:[member_name].SetsWeight: The weight of the member within a consolidation.
-
Method Details
-
name
SetsName: The name of the member.- Parameters:
name- the value;nullsends an explicitnull- Returns:
- this builder
-
uniqueName
SetsUniqueName: The name of the member, preceded by the name of the parent, for example, [dimension_name]:[member_name].- Parameters:
uniqueName- the value;nullsends an explicitnull- Returns:
- this builder
-
type
SetsType: The type of the member.- Parameters:
type- the value;nullsends an explicitnull- Returns:
- this builder
-
ordinal
SetsOrdinal: A number that identifies an entity's position in a series.- Parameters:
ordinal- the value;nullsends an explicitnull- Returns:
- this builder
-
isPlaceholder
SetsIsPlaceholder: A Boolean that indicates whether this member is a placeholder.- Parameters:
isPlaceholder- the value;nullsends an explicitnull- Returns:
- this builder
-
weight
SetsWeight: The weight of the member within a consolidation.- Parameters:
weight- the value;nullsends an explicitnull- Returns:
- this builder
-
attributes
SetsAttributes: The attributes of the member.- Parameters:
attributes- the value;nullsends an explicitnull- Returns:
- this builder
-
hierarchy
SetsHierarchy: The hierarchy of the member. (nested, for a deep insert)- Parameters:
hierarchy- the value;nullsends an explicitnull- Returns:
- this builder
-
bindHierarchy
BindsHierarchyto an existing entity (Hierarchy@odata.bind).- Parameters:
target- the entity's path- Returns:
- this builder
-
level
SetsLevel: The level within the hierarchy on which this member resides. (nested, for a deep insert)- Parameters:
level- the value;nullsends an explicitnull- Returns:
- this builder
-
bindLevel
BindsLevelto an existing entity (Level@odata.bind).- Parameters:
target- the entity's path- Returns:
- this builder
-
element
SetsElement: The member element. (nested, for a deep insert)- Parameters:
element- the value;nullsends an explicitnull- Returns:
- this builder
-
bindElement
BindsElementto an existing entity (Element@odata.bind).- Parameters:
target- the entity's path- Returns:
- this builder
-
parent
SetsParent: The parent of the member in the consolidation. (nested, for a deep insert)- Parameters:
parent- the value;nullsends an explicitnull- Returns:
- this builder
-
bindParent
BindsParentto an existing entity (Parent@odata.bind).- Parameters:
target- the entity's path- Returns:
- this builder
-
children
SetsChildren: The children of the member in the consolidation. (nested, for a deep insert)- Parameters:
children- the value;nullsends an explicitnull- Returns:
- this builder
-
bindChildren
BindsChildrento existing entities (Children@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
localizedAttributes
public MemberPatch.Builder localizedAttributes(@Nullable List<LocalizedAttributesPatch> localizedAttributes) SetsLocalizedAttributes: Translated string values for properties of the member. (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
-
build
-