Interface SConceptFeature
-
- All Superinterfaces:
SElement
,SNamedElement
- All Known Subinterfaces:
SAbstractLink
,SContainmentLink
,SProperty
,SReferenceLink
public interface SConceptFeature extends SNamedElement
Member of a concept, named.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SAbstractConcept
getOwner()
Retrieves concept where the feature has been declared.boolean
isValid()
This is a bit vague attribute of a concept feature, basically indicating there's a corresponding runtime descriptor and MPS knows everything it needs about this meta-model element.-
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
-
getOwner
@NotNull SAbstractConcept getOwner()
Retrieves concept where the feature has been declared. Note, this concept doesn't necessarily match concept of the node when this feature has been obtained through node's meta-model accessors, instead, the feature may originate from one of concept's ancestors.- Returns:
- concept this feature is declared in
-
isValid
boolean isValid()
This is a bit vague attribute of a concept feature, basically indicating there's a corresponding runtime descriptor and MPS knows everything it needs about this meta-model element. However, there are cases, when there's no runtime descriptor, but the information in this instance is still sufficient for some MPS purposes (like limited persistence). It's impossible to find out whether this is the case using this method, though.- Returns:
- false when MPS doesn't have full runtime descriptor for this element and therefore this element may be of limited use in MPS
-
-