public interface ViewClassBasedFoldingRule
X--Y-->Z (source class is X, link class is Y, target class is Z), then for a result
 triplet (CI/Relation/CI) x--y-->z, z will appear as a child of x.X<--Y--Z (source class is X, link class is Y, target class is Z, against link direction),
 then for a result triplet x--y-->z, x will appear as a child of z.
 
 Note the cycles restriction from RuleBasedViewDefinition is in effect.| Modifier and Type | Method and Description | 
|---|---|
| ViewClassBasedFoldingRule | againstTheLink(String linkClassName)Sets the link class name and direction. | 
| ViewClassBasedFoldingRule | alongTheLink(String linkClassName)Sets the link class name and direction. | 
| String | from()CIs of this class are considered as sources. | 
| ViewClassBasedFoldingRule | from(String sourceClassName)Sets the source class name. | 
| boolean | isAlongDirection()If true, the rule is evaluated along the link direction. | 
| String | link()Relations of this class are valid. | 
| ViewClassBasedFoldingRule | setAlongDirection(boolean alongDirection)Sets the direction the rule is evaluated. | 
| String | to()CIs of this class are considered as targets. | 
| ViewClassBasedFoldingRule | to(String targetClassName)Sets the target class name. | 
| ViewClassBasedFoldingRule | withLinkClassName(String linkClassName)Sets the link class name. | 
String from()
ViewClassBasedFoldingRule from(String sourceClassName)
from()String to()
ViewClassBasedFoldingRule to(String targetClassName)
to()ViewClassBasedFoldingRule alongTheLink(String linkClassName)
'source'--'link'-->'target'as:
  'source'
    'target'
 
 (target below source)ViewClassBasedFoldingRule againstTheLink(String linkClassName)
'source'<--'link'--'target'as:
  'target'
    'source'
 
 (target below source)String link()
boolean isAlongDirection()
ViewClassBasedFoldingRule setAlongDirection(boolean alongDirection)
isAlongDirection()ViewClassBasedFoldingRule withLinkClassName(String linkClassName)
link()                             Documentation Feedback                             
                             Copyright 2011 - 2018 Micro Focus or one of its affiliates.