Interface RWAttributeLinks

  • public interface RWAttributeLinks
    Represents RW attribute links. It maintains the collections of RWAttributeLink.
    MicroStrategy Web Polaris
    • Method Detail

      • size

        int size()
        Returns number of attribute links in the collections.
        number of attribute links in the collections
      • get

        RWAttributeLink get​(int i)
        Returns i-th attribute link
        i - index
        attribute link
      • getLinksMap

        java.util.Map<java.lang.String,​java.util.Set<java.lang.String>> getLinksMap()
        Returns attribute links map.

        This map maps a source attribute to a set, which contains all the target attributes that are linked with source attribute.

        attribute links map
      • getLinksCollection

        java.util.List<java.util.Set<java.lang.String>> getLinksCollection()
        Returns attribute links set collection.

        The attributes that are linked together would be grouped to a set. These sets are returned as list items and should have no intersection.

        For example:

        If 3 pairs (A, B), (B, C) and (D, E) exists in the document, that means A, B and C are linked together, and D and E are linked together. They would be grouped as two set {A, B, C} and {D, E}. Then a list of these sets are returned.

        attribute links set collection
      • hasAttributeLinks

        boolean hasAttributeLinks​(WebObjectInfo objectInfo)
        Returns whether the specified object has attribute links
        objectInfo - an object
        a boolean indicates whether the specified object has attribute links