Interface SProperty
- 
- All Superinterfaces:
 SConceptFeature,SElement,SNamedElement
- All Known Implementing Classes:
 InvalidProperty,SPropertyAdapter,SPropertyAdapterById
public interface SProperty extends SConceptFeature
Represents a concept property 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description SNodegetDeclarationNode()Deprecated.StringgetName()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.SDataTypegetType()booleanisValid(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.getNametoSConceptFeature.getName- Specified by:
 getNamein 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. 
 - 
 
 -