Interface SConceptFeature

    • 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