Class MDXViewPatch.Builder
java.lang.Object
io.skipcheck.tm1.client.model.ViewPatch.Builder
io.skipcheck.tm1.client.model.MDXViewPatch.Builder
- Enclosing class:
MDXViewPatch
Builds a
MDXViewPatch; each setter replaces what an earlier call set.-
Method Summary
Modifier and TypeMethodDescriptionattributes(@Nullable AttributesPatch attributes) SetsAttributes: The attributes of the view.BindsCubeto an existing entity (Cube@odata.bind).bindLocalizedAttributes(ODataPath... targets) BindsLocalizedAttributesto existing entities (LocalizedAttributes@odata.bind).build()The patch, with what's been set so far.SetsCube: The parent cube of the view.localizedAttributes(@Nullable List<LocalizedAttributesPatch> localizedAttributes) SetsLocalizedAttributes: Translated string values for properties of the view.SetsMDX: An MDX expression that defines a cube view.SetsName: The name of the view.Sets a property$metadatadoesn't declare, which this open type can have, such as an attribute's value.
-
Method Details
-
name
SetsName: The name of the view.- Overrides:
namein classViewPatch.Builder- Parameters:
name- the value;nullsends an explicitnull- Returns:
- this builder
-
attributes
SetsAttributes: The attributes of the view.- Overrides:
attributesin classViewPatch.Builder- Parameters:
attributes- the value;nullsends an explicitnull- Returns:
- this builder
-
cube
SetsCube: The parent cube of the view. (nested, for a deep insert)- Overrides:
cubein classViewPatch.Builder- Parameters:
cube- the value;nullsends an explicitnull- Returns:
- this builder
-
bindCube
BindsCubeto an existing entity (Cube@odata.bind).- Overrides:
bindCubein classViewPatch.Builder- Parameters:
target- the entity's path- Returns:
- this builder
-
localizedAttributes
public MDXViewPatch.Builder localizedAttributes(@Nullable List<LocalizedAttributesPatch> localizedAttributes) SetsLocalizedAttributes: Translated string values for properties of the view. (nested, for a deep insert)- Overrides:
localizedAttributesin classViewPatch.Builder- Parameters:
localizedAttributes- the value;nullsends an explicitnull- Returns:
- this builder
-
bindLocalizedAttributes
BindsLocalizedAttributesto existing entities (LocalizedAttributes@odata.bind).- Overrides:
bindLocalizedAttributesin classViewPatch.Builder- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
mdx
SetsMDX: An MDX expression that defines a cube view.- Parameters:
mdx- the value;nullsends an explicitnull- Returns:
- this builder
-
property
Sets a property$metadatadoesn't declare, which this open type can have, such as an attribute's value.- Overrides:
propertyin classViewPatch.Builder- Parameters:
name- the property's name, as TM1 writes itvalue- the value;nullsends an explicitnull- Returns:
- this builder
-
build
The patch, with what's been set so far.- Overrides:
buildin classViewPatch.Builder- Returns:
- the patch
-