Interface SAbstractConcept
- 
- All Superinterfaces:
- SNamedElement
 - All Known Subinterfaces:
- SConcept,- SInterfaceConcept
 
 public interface SAbstractConcept extends SNamedElement A descriptor of a concept. Concepts define categories for AST nodes. The descriptor is read-only, so it is not possible to change the concept through its descriptor. SConcept (and SAbstractConcept) can be constructed using id/name pair or (better) be obtained from MetaAdapterFactory. note: the relationship between SNode and SConcept is analogical to the relationship between an object and its Class in Java
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StringgetConceptAlias()Collection<SContainmentLink>getContainmentLinks()Returns all the links this concept has, including inherited There's no "specialized links" at the compiled language level, all links are "original"SNodegetDeclarationNode()Deprecated.StringgetHelpUrl()SLanguagegetLanguage()The language that defines the conceptSAbstractLinkgetLink(String role)Deprecated.use SReferenceLink or SContainmentLink alternatives.Iterable<SAbstractLink>getLinks()Deprecated.UsegetContainmentLinks()orgetReferenceLinks()insteadStringgetName()Presentation of the element for an end-user.Collection<SProperty>getProperties()Returns all the properties this concept has, including inheritedSPropertygetProperty(String name)Deprecated.use SProperty-based alternatives.StringgetQualifiedName()Deprecated.Collection<SReferenceLink>getReferenceLinks()Returns all the references this concept has, including inheritedStringgetShortDescription()SNodeReferencegetSourceNode()Returns reference to the node, which was generated to this concept.booleanisAbstract()booleanisSubConceptOf(SAbstractConcept concept)Either implementing or extending the supplied conceptbooleanisValid()Returns true if this concept is fully-functional.
 
- 
- 
- 
Method Detail- 
getName@NotNull String getName() Description copied from interface:SNamedElementPresentation of the element for an end-user. Unlike identity, the name is deemed user-friendly and shall not be used for persistence.- Specified by:
- getNamein interface- SNamedElement
- Returns:
- the name of the concept
 
 - 
getReferenceLinksCollection<SReferenceLink> getReferenceLinks() Returns all the references this concept has, including inherited
 - 
getContainmentLinksCollection<SContainmentLink> getContainmentLinks() Returns all the links this concept has, including inherited There's no "specialized links" at the compiled language level, all links are "original"
 - 
getPropertiesCollection<SProperty> getProperties() Returns all the properties this concept has, including inherited
 - 
isSubConceptOfboolean isSubConceptOf(SAbstractConcept concept) Either implementing or extending the supplied concept
 - 
isAbstractboolean isAbstract() - Returns:
- truefor interfaces and abstract concepts.
 
 - 
getDeclarationNode@Deprecated @Nullable SNode getDeclarationNode() Deprecated.Returns the declaration node in case sources for this concept are present in IDE Will be removed after 3.4, use getSourceNode() instead
 - 
getSourceNode@Nullable SNodeReference getSourceNode() Returns reference to the node, which was generated to this concept. The target node's concept can be different form AbstractConceptDeclaration. Generally, this method should be only used for "go to concept declaration".
 - 
isValidboolean isValid() Returns true if this concept is fully-functional. Typically, user code should not care about this Can return false, for example, if the containing language is absent
 - 
getQualifiedName@Deprecated String getQualifiedName() Deprecated.
 - 
getLinks@Deprecated Iterable<SAbstractLink> getLinks() Deprecated.UsegetContainmentLinks()orgetReferenceLinks()insteadThere were no use of the method as of MPS 3.4
 - 
getProperty@Deprecated SProperty getProperty(String name) Deprecated.use SProperty-based alternatives. For MPS internals and transition from legacy code, one can useConceptMetaInfoConverter.There were no use of the method as of MPS 3.4
 - 
getLink@Deprecated SAbstractLink getLink(String role) Deprecated.use SReferenceLink or SContainmentLink alternatives. For MPS internals and transition from legacy code, one can useConceptMetaInfoConverter.There were no use of the method as of MPS 3.4
 
- 
 
-