Class InvalidContainmentLink
- java.lang.Object
 - 
- jetbrains.mps.smodel.adapter.structure.link.SContainmentLinkAdapter
 - 
- jetbrains.mps.smodel.adapter.structure.link.InvalidContainmentLink
 
 
 
- 
- All Implemented Interfaces:
 SAbstractLink,SConceptFeature,SContainmentLink,SElement,SNamedElement
public final class InvalidContainmentLink extends SContainmentLinkAdapter
See InvalidConcept doc 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringINVALID_PREFIX- 
Fields inherited from class jetbrains.mps.smodel.adapter.structure.link.SContainmentLinkAdapter
ID_DELIM, myName 
 - 
 
- 
Constructor Summary
Constructors Constructor Description InvalidContainmentLink(String concept, String name) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InvalidContainmentLinkdeserialize(String s)booleanequals(Object obj)SNodegetDeclarationNode()LinkDescriptorgetLinkDescriptor()SAbstractConceptgetOwner()Retrieves concept where the feature has been declared.StringgetRoleName()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.inthashCode()Stringserialize()- 
Methods inherited from class jetbrains.mps.smodel.adapter.structure.link.SContainmentLinkAdapter
getName, getRole, getTargetConcept, isMultiple, isOptional, isReference, isUnordered, 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:SContainmentLinkReturns 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. 
- 
getLinkDescriptor
@Nullable public LinkDescriptor getLinkDescriptor()
- Specified by:
 getLinkDescriptorin classSContainmentLinkAdapter
 
- 
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 classSContainmentLinkAdapter- Returns:
 - concept this feature is declared in
 
 
- 
serialize
public String serialize()
- Specified by:
 serializein classSContainmentLinkAdapter
 
- 
deserialize
public static InvalidContainmentLink deserialize(String s)
 
 - 
 
 -