Class MetaAdapterFactory
- java.lang.Object
 - 
- jetbrains.mps.smodel.adapter.structure.MetaAdapterFactory
 
 
- 
public abstract class MetaAdapterFactory extends Object
This class shall stay pure FACTORY of SXAdapter objects (i.e. instantiate them only), and shall not contradict with their "proxy" aspect (i.e. implementation that needs to look forConceptDescriptorand alike). Simply put, methods of this class shall not go outside, e.g. toConceptRegistryorStructureRegistry. 
- 
- 
Constructor Summary
Constructors Constructor Description MetaAdapterFactory() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SAbstractConceptgetAbstractConcept(ConceptDescriptor descriptor)static SConceptgetConcept(long uuidHigh, long uuidLow, long concept, String conceptName)static SConceptgetConcept(SConceptId id, String conceptName)static SConceptgetConcept(SLanguage language, long concept, String shortConceptName)static SConstrainedStringDatatypeAdaptergetConstrainedStringDataType(long uuidHigh, long uuidLow, long datatype, String datatypeName)static SConstrainedStringDatatypeAdaptergetConstrainedStringDataType(SDataTypeId id, String datatypeName)static SContainmentLinkgetContainmentLink(long uuidHigh, long uuidLow, long concept, long link, String linkName)static SContainmentLinkgetContainmentLink(SContainmentLinkId id, String linkName)static SContainmentLinkgetContainmentLink(SAbstractConcept concept, long link, String linkName)static SEnumerationgetEnumeration(long uuidHigh, long uuidLow, long datatype, String enumerationName)static SEnumerationgetEnumeration(SDataTypeId id, String enumerationName)static SInterfaceConceptgetInterfaceConcept(long uuidHigh, long uuidLow, long concept, String conceptName)static SInterfaceConceptgetInterfaceConcept(SConceptId id, String conceptName)static SInterfaceConceptgetInterfaceConcept(SLanguage language, long concept, String shortConceptName)static SLanguagegetLanguage(long uuidHigh, long uuidLow, String langName)static SLanguagegetLanguage(SLanguageId id, String langName)static SLanguagegetLanguage(SModuleReference languageModuleRef)static SPropertygetProperty(long uuidHigh, long uuidLow, long concept, long prop, String propName)static SPropertygetProperty(SPropertyId id, String propName)static SPropertygetProperty(SAbstractConcept concept, long prop, String propName)static SReferenceLinkgetReferenceLink(long uuidHigh, long uuidLow, long concept, long link, String refName)static SReferenceLinkgetReferenceLink(SReferenceLinkId id, String refName)static SReferenceLinkgetReferenceLink(SAbstractConcept concept, long link, String linkName) 
 - 
 
- 
- 
Method Detail
- 
getLanguage
@NotNull public static SLanguage getLanguage(@NotNull SLanguageId id, @NotNull String langName)
 
- 
getLanguage
@NotNull public static SLanguage getLanguage(long uuidHigh, long uuidLow, String langName)
 
- 
getLanguage
@NotNull public static SLanguage getLanguage(@NotNull SModuleReference languageModuleRef)
 
- 
getConcept
@NotNull public static SConcept getConcept(SConceptId id, String conceptName)
 
- 
getConcept
@NotNull public static SConcept getConcept(long uuidHigh, long uuidLow, long concept, String conceptName)
 
- 
getConcept
public static SConcept getConcept(@NotNull SLanguage language, long concept, @NotNull String shortConceptName)
 
- 
getInterfaceConcept
@NotNull public static SInterfaceConcept getInterfaceConcept(SConceptId id, String conceptName)
 
- 
getInterfaceConcept
@NotNull public static SInterfaceConcept getInterfaceConcept(long uuidHigh, long uuidLow, long concept, String conceptName)
 
- 
getInterfaceConcept
public static SInterfaceConcept getInterfaceConcept(@NotNull SLanguage language, long concept, @NotNull String shortConceptName)
 
- 
getConstrainedStringDataType
@NotNull public static SConstrainedStringDatatypeAdapter getConstrainedStringDataType(SDataTypeId id, String datatypeName)
 
- 
getConstrainedStringDataType
@NotNull public static SConstrainedStringDatatypeAdapter getConstrainedStringDataType(long uuidHigh, long uuidLow, long datatype, String datatypeName)
 
- 
getEnumeration
@NotNull public static SEnumeration getEnumeration(SDataTypeId id, String enumerationName)
 
- 
getEnumeration
@NotNull public static SEnumeration getEnumeration(long uuidHigh, long uuidLow, long datatype, String enumerationName)
 
- 
getProperty
@NotNull public static SProperty getProperty(SPropertyId id, String propName)
 
- 
getProperty
@NotNull public static SProperty getProperty(long uuidHigh, long uuidLow, long concept, long prop, String propName)
 
- 
getProperty
public static SProperty getProperty(@NotNull SAbstractConcept concept, long prop, String propName)
 
- 
getReferenceLink
@NotNull public static SReferenceLink getReferenceLink(SReferenceLinkId id, String refName)
 
- 
getReferenceLink
@NotNull public static SReferenceLink getReferenceLink(long uuidHigh, long uuidLow, long concept, long link, String refName)
 
- 
getReferenceLink
public static SReferenceLink getReferenceLink(@NotNull SAbstractConcept concept, long link, String linkName)
 
- 
getContainmentLink
@NotNull public static SContainmentLink getContainmentLink(SContainmentLinkId id, String linkName)
 
- 
getContainmentLink
@NotNull public static SContainmentLink getContainmentLink(long uuidHigh, long uuidLow, long concept, long link, String linkName)
 
- 
getContainmentLink
public static SContainmentLink getContainmentLink(@NotNull SAbstractConcept concept, long link, String linkName)
 
- 
getAbstractConcept
@NotNull public static SAbstractConcept getAbstractConcept(ConceptDescriptor descriptor)
 
 - 
 
 -