Class SLinkOperations
- java.lang.Object
 - 
- jetbrains.mps.lang.smodel.generator.smodelAdapter.SLinkOperations
 
 
- 
@Deprecated public class SLinkOperations extends Object
Deprecated. 
- 
- 
Constructor Summary
Constructors Constructor Description SLinkOperations()Deprecated. 
- 
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidaddAll(SNode parent, SContainmentLink role, List<SNode> nodeList)Deprecated.static SNodeaddChild(SNode parent, SContainmentLink role, SNode child)Deprecated.static SNodeaddNewChild(SNode node, SContainmentLink role, SAbstractConcept childConcept)Deprecated.static Iterable<SNode>collect(Iterable<SNode> collection, SContainmentLink l)Deprecated.For each element of supplied collection, take child from specified role (if any), and return these as a sequence.static Iterable<SNode>collect(Iterable<SNode> collection, SReferenceLink l)Deprecated.For each element of supplied collection, navigate specified reference and collect non-null targets as a resulting sequence.static Iterable<SNode>collectMany(Iterable<SNode> collection, SContainmentLink l)Deprecated.For each element of supplied collection, collect all children from specified role and return them as flattened sequence.static SNodefindLinkDeclaration(SContainmentLink link)Deprecated.static SNodefindLinkDeclaration(SReferenceLink link)Deprecated.static SNodefindLinkDeclaration(SReference reference)Deprecated.static List<SNode>getChildren(SNode node, SContainmentLink role)Deprecated.static SNodeReferencegetPointer(SNode node, SReferenceLink role)Deprecated.static SReferenceLinkgetRefLink(SReference reference)Deprecated.static StringgetResolveInfo(SReference reference)Deprecated.static StringgetRole(SReference reference)Deprecated.static SNodegetTarget(SNode node, SContainmentLink role)Deprecated.static SNodegetTarget(SNode node, SReferenceLink role)Deprecated.static SNodegetTargetNode(SReference reference)Deprecated.static booleanhasPointer(SNode node, SReferenceLink role, SNodeReference targetPointer)Deprecated.static SNodeinsertChildFirst(SNode parent, SContainmentLink role, SNode child)Deprecated.static List<SNode>removeAllChildren(SNode parent, SContainmentLink role)Deprecated.static SNodesetNewChild(SNode node, SContainmentLink role, SAbstractConcept childConcept)Deprecated.static SNodeReferencesetPointer(SNode node, SReferenceLink role, SNodeReference targetPointer)Deprecated.static SNodesetTarget(SNode node, SContainmentLink role, SNode targetNode)Deprecated.static SNodesetTarget(SNode node, SReferenceLink role, SNode targetNode)Deprecated. 
 - 
 
- 
- 
Constructor Detail
- 
SLinkOperations
@Deprecated public SLinkOperations()
Deprecated. 
 - 
 
- 
Method Detail
- 
findLinkDeclaration
public static SNode findLinkDeclaration(SReferenceLink link)
Deprecated. 
- 
findLinkDeclaration
public static SNode findLinkDeclaration(SContainmentLink link)
Deprecated. 
- 
getTarget
public static SNode getTarget(SNode node, SContainmentLink role)
Deprecated. 
- 
getTarget
public static SNode getTarget(SNode node, SReferenceLink role)
Deprecated. 
- 
setTarget
public static SNode setTarget(SNode node, SContainmentLink role, SNode targetNode)
Deprecated. 
- 
setTarget
public static SNode setTarget(SNode node, SReferenceLink role, SNode targetNode)
Deprecated. 
- 
setNewChild
public static SNode setNewChild(SNode node, SContainmentLink role, @Nullable SAbstractConcept childConcept)
Deprecated. 
- 
setPointer
public static SNodeReference setPointer(SNode node, SReferenceLink role, SNodeReference targetPointer)
Deprecated. 
- 
getPointer
public static SNodeReference getPointer(SNode node, SReferenceLink role)
Deprecated. 
- 
hasPointer
public static boolean hasPointer(SNode node, SReferenceLink role, SNodeReference targetPointer)
Deprecated. 
- 
getChildren
public static List<SNode> getChildren(SNode node, SContainmentLink role)
Deprecated. 
- 
addNewChild
public static SNode addNewChild(SNode node, SContainmentLink role, @Nullable SAbstractConcept childConcept)
Deprecated. 
- 
addChild
public static SNode addChild(SNode parent, SContainmentLink role, SNode child)
Deprecated. 
- 
addAll
public static void addAll(SNode parent, SContainmentLink role, List<SNode> nodeList)
Deprecated. 
- 
insertChildFirst
public static SNode insertChildFirst(SNode parent, SContainmentLink role, SNode child)
Deprecated. 
- 
removeAllChildren
public static List<SNode> removeAllChildren(SNode parent, SContainmentLink role)
Deprecated. 
- 
findLinkDeclaration
public static SNode findLinkDeclaration(SReference reference)
Deprecated. 
- 
getTargetNode
public static SNode getTargetNode(SReference reference)
Deprecated. 
- 
getRole
public static String getRole(SReference reference)
Deprecated. 
- 
getRefLink
public static SReferenceLink getRefLink(SReference reference)
Deprecated. 
- 
getResolveInfo
public static String getResolveInfo(SReference reference)
Deprecated. 
- 
collect
public static Iterable<SNode> collect(Iterable<SNode> collection, SReferenceLink l)
Deprecated.For each element of supplied collection, navigate specified reference and collect non-null targets as a resulting sequence. Null elements in the source collections are tolerated (and ignored) 
- 
collect
public static Iterable<SNode> collect(Iterable<SNode> collection, SContainmentLink l)
Deprecated.For each element of supplied collection, take child from specified role (if any), and return these as a sequence. Result sequence doesn't contain null values. Null elements in the source collections are tolerated (and ignored) 
- 
collectMany
public static Iterable<SNode> collectMany(Iterable<SNode> collection, SContainmentLink l)
Deprecated.For each element of supplied collection, collect all children from specified role and return them as flattened sequence. Result sequence doesn't contain null values. Null elements in the source collections are tolerated (and ignored) 
 - 
 
 -