Interface RWAttributeLink


  • public interface RWAttributeLink
    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.
    Since:
    MicroStrategy Web Polaris
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PAIR_SEPARATOR  
    • Method Detail

      • getSourceId

        java.lang.String getSourceId()
        Returns source attribute info of this link
        Returns:
        source attribute info of this link
      • getTargetId

        java.lang.String getTargetId()
        Returns target attribute info of this link
        Returns:
        target attribute info of this link