Interface SProperty

    • Method Detail

      • getName

        @NotNull
        String getName()
        Returns a name of this property Though in 3.2 the name is still used as id in some cases, it should be treated only as a user-friendly text representation. Although this method is identical to SNamedElement.getName(), it is left here until we find a way to migrate references to this method in MPS models from SProperty.getName to SConceptFeature.getName
        Specified by:
        getName in interface SNamedElement
        Returns:
        name of the meta element
      • isValid

        boolean isValid​(String value)
        Will be used to check validity of potential values.