Interface SProperty
-
- All Superinterfaces:
SConceptFeature
,SElement
,SNamedElement
public interface SProperty extends SConceptFeature
Represents a concept property
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description SNode
getDeclarationNode()
Deprecated.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.SDataType
getType()
boolean
isValid(String value)
Will be used to check validity of potential values.-
Methods inherited from interface org.jetbrains.mps.openapi.language.SConceptFeature
getOwner, isValid
-
Methods inherited from interface org.jetbrains.mps.openapi.language.SElement
getLanguage, getSourceNode
-
-
-
-
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 toSNamedElement.getName()
, it is left here until we find a way to migrate references to this method in MPS models fromSProperty.getName
toSConceptFeature.getName
- Specified by:
getName
in interfaceSNamedElement
- Returns:
- name of the meta element
-
getDeclarationNode
@Nullable @Deprecated SNode getDeclarationNode()
Deprecated.
-
isValid
boolean isValid(String value)
Will be used to check validity of potential values.
-
-