public interface

RWAttributeLink

com.microstrategy.web.objects.rw.RWAttributeLink

Class Overview

Represents RW attribute link.

Each Attribute Link is a pair of the combine of attribute id and attribute form id.

We use source and target to identify that users link from source attribute to target attribute. So pair(Attr1, Attr2) means users link Attr1 to Attr2.

If we have 2 attribute links, pair(Attr1, Attr2) and pair(Attr2, Attr3), it means that Attr1, Attr2 and Attr3 are linked together. When unlinking on Attr2, both pairs would be removed. When unlinking on Attt1, only pair(Attr1, Attr2) will be removed, pair(Attr2, Attr3) will be kept.

Backend implementation notice:

  • pair(Attr1, Attr2) and pair(Attr2, Attr1) are the same item.
  • Attribute info of link would only be identified by AttributeID, that is "AttrID1 AttrForm1" and "AttrID1 AttrForm2" are the same item.

Summary

Constants
String PAIR_SEPARATOR
Public Methods
abstract String getSourceId()
Returns source attribute info of this link
abstract String getTargetId()
Returns target attribute info of this link

Constants

public static final String PAIR_SEPARATOR

Constant Value: " "

Public Methods

public abstract String getSourceId ()

Returns source attribute info of this link

Returns
  • source attribute info of this link

public abstract String getTargetId ()

Returns target attribute info of this link

Returns
  • target attribute info of this link