org.eclipse.gmt.umlx.essentialocl.util
Class EssentialOCLMappingMetaData

java.lang.Object
  extended by org.eclipse.emf.ecore.util.BasicExtendedMetaData
      extended by org.eclipse.gmt.umlx.alien.mapping.MappingMetaData
          extended by org.eclipse.gmt.umlx.emof.adapter.EMOFMappingMetaData
              extended by org.eclipse.gmt.umlx.essentialocl.util.EssentialOCLMappingMetaData
All Implemented Interfaces:
org.eclipse.emf.ecore.util.ExtendedMetaData
Direct Known Subclasses:
EqvtBaseMappingMetaData, FullOCLMappingMetaData

public class EssentialOCLMappingMetaData
extends EMOFMappingMetaData

EssentialOCLMappingMetaData defines the mapping between an EMOF-based Essential OCL alien model and an Ecore-based MDT OCL model. The mapping is established by alien model elements that adapt their Ecore counterparts. The mapping is established lazily, typically by invoking load or save on an AlienXMIResourceAdapter.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.util.BasicExtendedMetaData
org.eclipse.emf.ecore.util.BasicExtendedMetaData.EClassExtendedMetaDataImpl, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EClassifierExtendedMetaData, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EDataTypeExtendedMetaDataImpl, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EPackageExtendedMetaData, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EPackageExtendedMetaDataImpl, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EStructuralFeatureExtendedMetaData, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EStructuralFeatureExtendedMetaDataImpl
 
Field Summary
static EssentialOCLMappingMetaData INSTANCE
           
 
Fields inherited from interface org.eclipse.emf.ecore.util.ExtendedMetaData
ANNOTATION_URI, ATTRIBUTE_FEATURE, ATTRIBUTE_WILDCARD_FEATURE, COLLAPSE_WHITE_SPACE, CONTENT_KINDS, DERIVATION_KINDS, ELEMENT_FEATURE, ELEMENT_ONLY_CONTENT, ELEMENT_WILDCARD_FEATURE, EMPTY_CONTENT, FEATURE_KINDS, GROUP_FEATURE, LAX_PROCESSING, LIST_DERIVATION, MIXED_CONTENT, PRESERVE_WHITE_SPACE, PROCESSING_KINDS, REPLACE_WHITE_SPACE, RESTRICTION_DERIVATION, SIMPLE_CONTENT, SIMPLE_FEATURE, SKIP_PROCESSING, STRICT_PROCESSING, UNION_DERIVATION, UNSPECIFIED_CONTENT, UNSPECIFIED_DERIVATION, UNSPECIFIED_FEATURE, UNSPECIFIED_PROCESSING, UNSPECIFIED_WHITE_SPACE, WHITE_SPACE_KINDS, XMI_URI, XML_SCHEMA_URI, XML_URI, XMLNS_PREFIX, XMLNS_URI, XSI_PREFIX, XSI_URI
 
Constructor Summary
EssentialOCLMappingMetaData()
           
 
Method Summary
 org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass ecoreClass)
           
 java.util.Map<java.lang.String,org.eclipse.emf.ecore.resource.Resource.Factory> getContentToFactoryMap()
           
 EStructuralFeatureMap<? extends org.eclipse.emf.ecore.EStructuralFeature> getFeatureMap(org.eclipse.emf.ecore.EClass ecoreEClass, org.eclipse.emf.ecore.EStructuralFeature ecoreFeature)
          Recognise and suppress the gratuitous ETypedElement members.
 java.lang.String getName()
          Return a brief description of this meta data such "EMOF".
 void initialiseContents()
           
 
Methods inherited from class org.eclipse.gmt.umlx.alien.mapping.MappingMetaData
createDemandFeature, createDemandFeature, demandPackage, exportEDataType, getAdapter, getAdapter, getAdapters, getAdaptingFactory, getAlienEClassMap, getAlienEStructuralFeatureMap, getAlienPackage, getEcoreEClassMap, getEcoreEStructuralFeatureMap, getEcorePackage, getEcorePackages, getPackage, getXMIExtensions, getXMIExtensionsOrNull, getXMIExtensionValuesOrNull, importEDataType, initialise, putAdaptingFactory, putAdaptingPackage, validate
 
Methods inherited from class org.eclipse.emf.ecore.util.BasicExtendedMetaData
basicGetBaseType, basicGetNamespace, demandedPackages, demandFeature, demandFeature, demandType, getAffiliation, getAffiliation, getAllAttributes, getAllElements, getAttribute, getAttribute, getAttributes, getAttributeWildcardAffiliation, getBaseType, getContentKind, getDerivationKind, getDocumentRoot, getElement, getElement, getElements, getElementWildcardAffiliation, getEncodedWildcards, getEnumerationFacet, getFeatureKind, getFractionDigitsFacet, getGroup, getItemType, getLengthFacet, getLocalAttribute, getMaxExclusiveFacet, getMaxInclusiveFacet, getMaxLengthFacet, getMemberTypes, getMinExclusiveFacet, getMinInclusiveFacet, getMinLengthFacet, getMixedFeature, getName, getName, getNamespace, getNamespace, getNamespace, getPatternFacet, getProcessingKind, getSimpleFeature, getTotalDigitsFacet, getType, getType, getWhiteSpaceFacet, getWildcards, getXMLNSPrefixMapFeature, getXSISchemaLocationMapFeature, isAnonymous, isQualified, matches, matches, putPackage, setAffiliation, setBaseType, setContentKind, setDocumentRoot, setEnumerationFacet, setFeatureKind, setFractionDigitsFacet, setGroup, setItemType, setLengthFacet, setMaxExclusiveFacet, setMaxInclusiveFacet, setMaxLengthFacet, setMemberTypes, setMinExclusiveFacet, setMinInclusiveFacet, setMinLengthFacet, setName, setName, setNamespace, setPatternFacet, setProcessingKind, setQualified, setTotalDigitsFacet, setWhiteSpaceFacet, setWildcards
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static EssentialOCLMappingMetaData INSTANCE
Constructor Detail

EssentialOCLMappingMetaData

public EssentialOCLMappingMetaData()
Method Detail

create

public org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass ecoreClass)
Overrides:
create in class EMOFMappingMetaData

getContentToFactoryMap

public java.util.Map<java.lang.String,org.eclipse.emf.ecore.resource.Resource.Factory> getContentToFactoryMap()
Overrides:
getContentToFactoryMap in class EMOFMappingMetaData

getFeatureMap

public EStructuralFeatureMap<? extends org.eclipse.emf.ecore.EStructuralFeature> getFeatureMap(org.eclipse.emf.ecore.EClass ecoreEClass,
                                                                                               org.eclipse.emf.ecore.EStructuralFeature ecoreFeature)
Recognise and suppress the gratuitous ETypedElement members.

Overrides:
getFeatureMap in class MappingMetaData

getName

public java.lang.String getName()
Description copied from class: MappingMetaData
Return a brief description of this meta data such "EMOF".

Overrides:
getName in class EMOFMappingMetaData
Returns:

initialiseContents

public void initialiseContents()
                        throws MappingConfigurationException
Overrides:
initialiseContents in class EMOFMappingMetaData
Throws:
MappingConfigurationException