Interface SAbstractLink
-
- All Superinterfaces:
SConceptFeature
,SElement
,SNamedElement
- All Known Subinterfaces:
SContainmentLink
,SReferenceLink
public interface SAbstractLink extends SConceptFeature
Represents an abstract meta-definition of node connections. These can express either references or containment relationships.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String
getRole()
Deprecated.SAbstractConcept
getTargetConcept()
The concept for the nodes that this link points to.boolean
isMultiple()
Instance nodes can contain more than one link like this.boolean
isOptional()
This link may contain no elements.boolean
isReference()
Deprecated.boolean limits API to two link kinds possible-
Methods inherited from interface org.jetbrains.mps.openapi.language.SConceptFeature
getOwner, isValid
-
Methods inherited from interface org.jetbrains.mps.openapi.language.SElement
getLanguage, getSourceNode
-
Methods inherited from interface org.jetbrains.mps.openapi.language.SNamedElement
getName
-
-
-
-
Method Detail
-
getRole
@Deprecated String getRole()
Deprecated.
-
getTargetConcept
@NotNull SAbstractConcept getTargetConcept()
The concept for the nodes that this link points to.
-
isReference
@Deprecated boolean isReference()
Deprecated.boolean limits API to two link kinds possibleTrue for references, false for containment relationships.
-
isOptional
boolean isOptional()
This link may contain no elements.
-
isMultiple
boolean isMultiple()
Instance nodes can contain more than one link like this.
-
-