Class InvalidProperty
- java.lang.Object
 - 
- jetbrains.mps.smodel.adapter.structure.property.SPropertyAdapter
 - 
- jetbrains.mps.smodel.adapter.structure.property.InvalidProperty
 
 
 
- 
- All Implemented Interfaces:
 SConceptFeature,SElement,SNamedElement,SProperty
public final class InvalidProperty extends SPropertyAdapter
See InvalidConcept doc 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringINVALID_PREFIX- 
Fields inherited from class jetbrains.mps.smodel.adapter.structure.property.SPropertyAdapter
ID_DELIM, myPropertyName 
 - 
 
- 
Constructor Summary
Constructors Constructor Description InvalidProperty(String concept, String name) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InvalidPropertydeserialize(String s)booleanequals(Object obj)SNodegetDeclarationNode()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.SAbstractConceptgetOwner()Retrieves concept where the feature has been declared.PropertyDescriptorgetPropertyDescriptor()inthashCode()Stringserialize()- 
Methods inherited from class jetbrains.mps.smodel.adapter.structure.property.SPropertyAdapter
getType, isValid, isValid, toString 
- 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface org.jetbrains.mps.openapi.language.SElement
getLanguage, getSourceNode 
 - 
 
 - 
 
- 
- 
Field Detail
- 
INVALID_PREFIX
public static final String INVALID_PREFIX
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getPropertyDescriptor
@Nullable public PropertyDescriptor getPropertyDescriptor()
- Specified by:
 getPropertyDescriptorin classSPropertyAdapter
 
- 
getName
@NotNull public String getName()
Description copied from interface:SPropertyReturns 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- Returns:
 - name of the meta element
 
 
- 
getOwner
@NotNull public SAbstractConcept getOwner()
Description copied from interface:SConceptFeatureRetrieves 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.- Specified by:
 getOwnerin interfaceSConceptFeature- Specified by:
 getOwnerin classSPropertyAdapter- Returns:
 - concept this feature is declared in
 
 
- 
serialize
public String serialize()
- Specified by:
 serializein classSPropertyAdapter
 
- 
deserialize
public static InvalidProperty deserialize(String s)
 
 - 
 
 -