Class CompiledConceptDescriptor
- java.lang.Object
 - 
- jetbrains.mps.smodel.runtime.base.BaseConceptDescriptor
 - 
- jetbrains.mps.smodel.runtime.impl.CompiledConceptDescriptor
 
 
 
- 
- All Implemented Interfaces:
 ConceptDescriptor,NamedElementDescriptor
public class CompiledConceptDescriptor extends BaseConceptDescriptor
 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<SConceptId>getAncestorsIds()StringgetConceptAlias()StringgetConceptFqName()SConceptIdgetId()LinkDescriptorgetLinkDescriptor(SContainmentLinkId id)Collection<LinkDescriptor>getLinkDescriptors()StringgetName()List<SConceptId>getParentsIds()Includes immediate extended/implemented interfaces and superconcept, for non-interface ConceptDescriptor.PropertyDescriptorgetPropertyDescriptor(SPropertyId id)Collection<PropertyDescriptor>getPropertyDescriptors()ReferenceDescriptorgetRefDescriptor(SReferenceLinkId id)Collection<ReferenceDescriptor>getReferenceDescriptors()SNodeReferencegetSourceNode()StaticScopegetStaticScope()SConceptIdgetStubConceptId()SConceptIdgetSuperConceptId()intgetVersion()This method is for internal use only.booleanisAbstract()booleanisFinal()booleanisInterfaceConcept()booleanisRootable()- 
Methods inherited from class jetbrains.mps.smodel.runtime.base.BaseConceptDescriptor
getConceptKind, isAssignableTo 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getVersion
public int getVersion()
Description copied from interface:ConceptDescriptorThis method is for internal use only. It allows to identify whether some properties, which were added in later versions of MPS, were specified on construction (by generated code) or they have default values. This is needed not to make wasSet/wasNotSet field for each method. version == 2 denotes addition of #getStubConceptId() 
- 
getConceptFqName
public String getConceptFqName()
 
- 
isInterfaceConcept
public boolean isInterfaceConcept()
 
- 
getStaticScope
public StaticScope getStaticScope()
 
- 
isAbstract
public boolean isAbstract()
 
- 
isRootable
public boolean isRootable()
 
- 
isFinal
public boolean isFinal()
 
- 
getSourceNode
@Nullable public SNodeReference getSourceNode()
 
- 
getId
@NotNull public SConceptId getId()
 
- 
getSuperConceptId
@Nullable public SConceptId getSuperConceptId()
 
- 
getStubConceptId
@Nullable public SConceptId getStubConceptId()
 
- 
getParentsIds
public List<SConceptId> getParentsIds()
Description copied from interface:ConceptDescriptorIncludes immediate extended/implemented interfaces and superconcept, for non-interface ConceptDescriptor. For BaseConcept, doesn't list itself as parent 
- 
getAncestorsIds
public Set<SConceptId> getAncestorsIds()
 
- 
getPropertyDescriptors
public Collection<PropertyDescriptor> getPropertyDescriptors()
- Returns:
 - all properties (including those of parent concepts) in unspecified order, never 
null 
 
- 
getPropertyDescriptor
public PropertyDescriptor getPropertyDescriptor(SPropertyId id)
 
- 
getReferenceDescriptors
public Collection<ReferenceDescriptor> getReferenceDescriptors()
- Returns:
 - all references aka association links (including those of parent concepts) in unspecified order, never 
null 
 
- 
getRefDescriptor
public ReferenceDescriptor getRefDescriptor(SReferenceLinkId id)
 
- 
getLinkDescriptors
public Collection<LinkDescriptor> getLinkDescriptors()
- Returns:
 - all containment aka aggregation links (including those of parent concepts) in unspecified order, never 
null 
 
- 
getLinkDescriptor
public LinkDescriptor getLinkDescriptor(SContainmentLinkId id)
 
 - 
 
 -