Home > Class Reference > %SYS namespace > %DeepSee.Model.relationship


class %DeepSee.Model.relationship extends %DeepSee.Model.node, %DeepSee.Model.source

Meta-data for a cube-to-cube relationship within a DeepSee cube.

Property Inventory

Method Inventory


property cardinality as %DeepSee.Datatype.string (VALUELIST = ",one,many", XMLPROJECTION = "attribute");
Cardinality of this relationship.
If "one", then this relationship refers to one fact within the related cube.
If "many", then this relationship refers to many facts within the related cube.
Property methods: cardinalityDisplayToLogical(), cardinalityGet(), cardinalityIsValid(), cardinalityLogicalToDisplay(), cardinalityLogicalToOdbc(), cardinalityNormalize(), cardinalitySet()
relationship cube as %DeepSee.Model.cube (XMLPROJECTION = "none") [ Inverse = relationships , Cardinality = one ];
Cube that this relationship belongs to.
Property methods: cubeGet(), cubeGetObject(), cubeGetObjectId(), cubeGetSwizzled(), cubeIsValid(), cubeNewObject(), cubeRClose(), cubeRExec(), cubeRFetch(), cubeRelate(), cubeSQLCompute(), cubeSet(), cubeUnRelate()
property dependsOn as %DeepSee.Datatype.string (MAXLEN = 32000, XMLPROJECTION = "attribute");
If defined, this is an MDX expression identifying another level/relationship within this cube that this relationship depends on, e.g., "[Outlet].[H1].[City]"
This causes the following changes to this cube.
  1. An additional index is created based on the "master" level's fact and this relationship's fact.
  2. When the set of members for this level is produced it is filtered using this index.
Property methods: dependsOnDisplayToLogical(), dependsOnGet(), dependsOnIsValid(), dependsOnLogicalToDisplay(), dependsOnLogicalToOdbc(), dependsOnNormalize(), dependsOnSet()
property factNumber as %DeepSee.Datatype.string (XMLPROJECTION = "attribute");
Define a stable fact number for this relatinonship
Property methods: factNumberDisplayToLogical(), factNumberGet(), factNumberIsValid(), factNumberLogicalToDisplay(), factNumberLogicalToOdbc(), factNumberNormalize(), factNumberSet()
property inverse as %DeepSee.Datatype.entityName (XMLPROJECTION = "attribute");
Name of the inverse relationship within the related cube.
Property methods: inverseDisplayToLogical(), inverseGet(), inverseIsValid(), inverseLogicalToDisplay(), inverseLogicalToOdbc(), inverseNormalize(), inverseSet()
property nullReplacement as %DeepSee.Datatype.string (XMLPROJECTION = "attribute");
Optional. If defined, this is used as the display value for any records that have no related item.
The nullReplacement property for the entire cube is ignored by relationships.
If not defined, then missing members will not be listed by queries.
Property methods: nullReplacementDisplayToLogical(), nullReplacementGet(), nullReplacementIsValid(), nullReplacementLogicalToDisplay(), nullReplacementLogicalToOdbc(), nullReplacementNormalize(), nullReplacementSet()
property relatedCube as %DeepSee.Datatype.entityName (XMLPROJECTION = "attribute");
(Logical) Name of the cube this relationship refers to.
Property methods: relatedCubeDisplayToLogical(), relatedCubeGet(), relatedCubeIsValid(), relatedCubeLogicalToDisplay(), relatedCubeLogicalToOdbc(), relatedCubeNormalize(), relatedCubeSet()


method %Validate() as %Status [ Language = objectscript ]
Test if this relationship's definition is valid.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new window