EGF Engine
Release 0.1.0

org.eclipse.egf.pattern.relations.impl
Class RelationsPackageImpl

java.lang.Object
  extended by EPackageImpl
      extended by org.eclipse.egf.pattern.relations.impl.RelationsPackageImpl
All Implemented Interfaces:
RelationsPackage

public class RelationsPackageImpl
extends EPackageImpl
implements RelationsPackage

An implementation of the model Package.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.egf.pattern.relations.RelationsPackage
RelationsPackage.Literals
 
Field Summary
 
Fields inherited from interface org.eclipse.egf.pattern.relations.RelationsPackage
CALL_PARAMETER, CALL_PARAMETER__NAME, CALL_PARAMETER__TYPE, CALL_PARAMETER_FEATURE_COUNT, eINSTANCE, eNAME, eNS_PREFIX, eNS_URI, PARAMETER_RELATION, PARAMETER_RELATION__NAME, PARAMETER_RELATION__TYPE, PARAMETER_RELATION_FEATURE_COUNT, PATTERN_RELATION, PATTERN_RELATION__NAME, PATTERN_RELATION_FEATURE_COUNT, REFERENCE_RELATION, REFERENCE_RELATION__NAME, REFERENCE_RELATION__REFERENCED_PATTERN, REFERENCE_RELATION_FEATURE_COUNT
 
Method Summary
 void createPackageContents()
          Creates the meta-model objects for the package.
 EAttribute getCallParameter_Type()
           
 EClass getCallParameter()
           
 EReference getParameterRelation_Type()
           
 EClass getParameterRelation()
           
 EAttribute getPatternRelation_Name()
           
 EClass getPatternRelation()
           
 EReference getReferenceRelation_ReferencedPattern()
           
 EClass getReferenceRelation()
           
 RelationsFactory getRelationsFactory()
           
static RelationsPackage 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 RelationsPackage 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:
RelationsPackage.eNS_URI, createPackageContents(), initializePackageContents()

getPatternRelation

public EClass getPatternRelation()

Specified by:
getPatternRelation in interface RelationsPackage
Returns:
the meta object for class 'Pattern Relation'.
See Also:
PatternRelation

getPatternRelation_Name

public EAttribute getPatternRelation_Name()

Specified by:
getPatternRelation_Name in interface RelationsPackage
Returns:
the meta object for the attribute 'Name'.
See Also:
PatternRelation.getName(), RelationsPackage.getPatternRelation()

getParameterRelation

public EClass getParameterRelation()

Specified by:
getParameterRelation in interface RelationsPackage
Returns:
the meta object for class 'Parameter Relation'.
See Also:
ParameterRelation

getParameterRelation_Type

public EReference getParameterRelation_Type()

Specified by:
getParameterRelation_Type in interface RelationsPackage
Returns:
the meta object for the reference 'Type'.
See Also:
ParameterRelation.getType(), RelationsPackage.getParameterRelation()

getReferenceRelation

public EClass getReferenceRelation()

Specified by:
getReferenceRelation in interface RelationsPackage
Returns:
the meta object for class 'Reference Relation'.
See Also:
ReferenceRelation

getReferenceRelation_ReferencedPattern

public EReference getReferenceRelation_ReferencedPattern()

Specified by:
getReferenceRelation_ReferencedPattern in interface RelationsPackage
Returns:
the meta object for the reference 'Referenced Pattern'.
See Also:
ReferenceRelation.getReferencedPattern(), RelationsPackage.getReferenceRelation()

getCallParameter

public EClass getCallParameter()

Specified by:
getCallParameter in interface RelationsPackage
Returns:
the meta object for class 'Call Parameter'.
See Also:
CallParameter

getCallParameter_Type

public EAttribute getCallParameter_Type()

Specified by:
getCallParameter_Type in interface RelationsPackage
Returns:
the meta object for the attribute 'Type'.
See Also:
CallParameter.getType(), RelationsPackage.getCallParameter()

getRelationsFactory

public RelationsFactory getRelationsFactory()

Specified by:
getRelationsFactory in interface RelationsPackage
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.


EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.