org.eclipse.emf.mapping.xsd2ecore.impl
Class XSD2EcorePackageImpl

java.lang.Object
  extended byEPackageImpl
      extended byorg.eclipse.emf.mapping.xsd2ecore.impl.XSD2EcorePackageImpl
All Implemented Interfaces:
XSD2EcorePackage

public class XSD2EcorePackageImpl
extends EPackageImpl
implements XSD2EcorePackage

An implementation of the model Package.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.eclipse.emf.mapping.xsd2ecore.XSD2EcorePackage
eINSTANCE, eNAME, eNS_PREFIX, eNS_URI, XSD2_ECORE_MAPPING_ROOT, XSD2_ECORE_MAPPING_ROOT__COMMAND_STACK, XSD2_ECORE_MAPPING_ROOT__HELPER, XSD2_ECORE_MAPPING_ROOT__INPUTS, XSD2_ECORE_MAPPING_ROOT__NESTED, XSD2_ECORE_MAPPING_ROOT__NESTED_IN, XSD2_ECORE_MAPPING_ROOT__OUTPUT_READ_ONLY, XSD2_ECORE_MAPPING_ROOT__OUTPUTS, XSD2_ECORE_MAPPING_ROOT__TOP_TO_BOTTOM, XSD2_ECORE_MAPPING_ROOT__TYPE_MAPPING, XSD2_ECORE_MAPPING_ROOT_FEATURE_COUNT
 
Method Summary
 void createPackageContents()
          Creates the meta-model objects for the package.
 XSD2EcoreFactory getXSD2EcoreFactory()
           
 EClass getXSD2EcoreMappingRoot()
           
static XSD2EcorePackage init()
          Creates, registers, and initializes the Package for this model, and for any others upon which it depends.
 void initializePackageContents()
          Complete the initialization of the package and its meta-model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

public static XSD2EcorePackage init()
Creates, registers, and initializes the Package for this model, and for any others upon which it depends. Simple dependencies are satisfied by calling this method on all dependent packages before doing anything else. This method drives initialization for interdependent packages directly, in parallel with this package, itself.

Of this package and its interdependencies, all packages which have not yet been registered by their URI values are first created and registered. The packages are then initialized in two steps: meta-model objects for all of the packages are created before any are initialized, since one package's meta-model objects may refer to those of another.

Invocation of this method will not affect any packages that have already been initialized.

See Also:
XSD2EcorePackage.eNS_URI, createPackageContents(), initializePackageContents()

getXSD2EcoreMappingRoot

public EClass getXSD2EcoreMappingRoot()

Specified by:
getXSD2EcoreMappingRoot in interface XSD2EcorePackage
Returns:
the meta object for class 'Mapping Root'.
See Also:
XSD2EcoreMappingRoot

getXSD2EcoreFactory

public XSD2EcoreFactory getXSD2EcoreFactory()

Specified by:
getXSD2EcoreFactory in interface XSD2EcorePackage
Returns:
the factory that creates the instances of the model.

createPackageContents

public void createPackageContents()
Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its first.


initializePackageContents

public void initializePackageContents()
Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any invocation but its first.


Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.