Package com.microstrategy.web.objects.rw
Interface RWAttributeLinks
- 
public interface RWAttributeLinksRepresents RW attribute links. It maintains the collections ofRWAttributeLink.- Since:
 - MicroStrategy Web Polaris
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RWAttributeLinkget(int i)Returns i-th attribute linkjava.util.List<java.util.Set<java.lang.String>>getLinksCollection()Returns attribute links set collection.java.util.Map<java.lang.String,java.util.Set<java.lang.String>>getLinksMap()Returns attribute links map.booleanhasAttributeLinks(WebObjectInfo objectInfo)Returns whether the specified object has attribute linksintsize()Returns number of attribute links in the collections. 
 - 
 
- 
- 
Method Detail
- 
size
int size()
Returns number of attribute links in the collections.- Returns:
 - number of attribute links in the collections
 
 
- 
get
RWAttributeLink get(int i)
Returns i-th attribute link- Parameters:
 i- index- Returns:
 - 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.
- Returns:
 - 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.
- Returns:
 - attribute links set collection
 
 
- 
hasAttributeLinks
boolean hasAttributeLinks(WebObjectInfo objectInfo)
Returns whether the specified object has attribute links- Parameters:
 objectInfo- an object- Returns:
 - a boolean indicates whether the specified object has attribute links
 
 
 - 
 
 -