Class InvalidReferenceLink
- java.lang.Object
 - 
- jetbrains.mps.smodel.adapter.structure.ref.SReferenceLinkAdapter
 - 
- jetbrains.mps.smodel.adapter.structure.ref.InvalidReferenceLink
 
 
 
- 
- All Implemented Interfaces:
 SAbstractLink,SConceptFeature,SElement,SNamedElement,SReferenceLink
public final class InvalidReferenceLink extends SReferenceLinkAdapter
See InvalidConcept doc 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringINVALID_PREFIX- 
Fields inherited from class jetbrains.mps.smodel.adapter.structure.ref.SReferenceLinkAdapter
ID_DELIM, myName 
 - 
 
- 
Constructor Summary
Constructors Constructor Description InvalidReferenceLink(String concept, String name) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InvalidReferenceLinkdeserialize(String s)booleanequals(Object obj)SNodegetDeclarationNode()SAbstractConceptgetOwner()Retrieves concept where the feature has been declared.ReferenceDescriptorgetReferenceDescriptor()StringgetRoleName()Returns a name of this reference 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.inthashCode()Stringserialize()- 
Methods inherited from class jetbrains.mps.smodel.adapter.structure.ref.SReferenceLinkAdapter
getName, getRole, getScope, getScope, getTargetConcept, isMultiple, isOptional, isReference, 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
- 
getRoleName
public String getRoleName()
Description copied from interface:SReferenceLinkReturns a name of this reference 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. 
- 
getReferenceDescriptor
@Nullable public ReferenceDescriptor getReferenceDescriptor()
- Specified by:
 getReferenceDescriptorin classSReferenceLinkAdapter
 
- 
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 classSReferenceLinkAdapter- Returns:
 - concept this feature is declared in
 
 
- 
serialize
public String serialize()
- Specified by:
 serializein classSReferenceLinkAdapter
 
- 
deserialize
public static InvalidReferenceLink deserialize(String s)
 
 - 
 
 -