Class DeclarationPackageImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
- org.eclipse.emf.ecore.impl.EModelElementImpl
-
- org.eclipse.emf.ecore.impl.ENamedElementImpl
-
- org.eclipse.emf.ecore.impl.EPackageImpl
-
- org.eclipse.emf.edapt.declaration.impl.DeclarationPackageImpl
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EModelElement
,org.eclipse.emf.ecore.ENamedElement
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EPackage
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
,org.eclipse.emf.ecore.util.BasicExtendedMetaData.EPackageExtendedMetaData.Holder
,DeclarationPackage
public class DeclarationPackageImpl extends org.eclipse.emf.ecore.impl.EPackageImpl implements DeclarationPackage
An implementation of the model Package.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
-
Nested classes/interfaces inherited from interface org.eclipse.emf.edapt.declaration.DeclarationPackage
DeclarationPackage.Literals
-
-
Field Summary
-
Fields inherited from interface org.eclipse.emf.edapt.declaration.DeclarationPackage
CONSTRAINT, CONSTRAINT__DESCRIPTION, CONSTRAINT__NAME, CONSTRAINT__OPERATION, CONSTRAINT__RESTRICTS, CONSTRAINT_FEATURE_COUNT, eINSTANCE, eNAME, eNS_PREFIX, eNS_URI, IDENTIFIED_ELEMENT, IDENTIFIED_ELEMENT__DESCRIPTION, IDENTIFIED_ELEMENT__NAME, IDENTIFIED_ELEMENT_FEATURE_COUNT, LIBRARY, LIBRARY__DESCRIPTION, LIBRARY__IMPLEMENTATION, LIBRARY__LABEL, LIBRARY__LIBRARIES, LIBRARY__NAME, LIBRARY__OPERATIONS, LIBRARY_FEATURE_COUNT, OPERATION, OPERATION__AFTER, OPERATION__BEFORE, OPERATION__BREAKING, OPERATION__CONSTRAINTS, OPERATION__DEPRECATED, OPERATION__DESCRIPTION, OPERATION__IMPLEMENTATION, OPERATION__LABEL, OPERATION__LIBRARY, OPERATION__NAME, OPERATION__PARAMETERS, OPERATION_FEATURE_COUNT, PARAMETER, PARAMETER__CLASSIFIER, PARAMETER__CLASSIFIER_NAME, PARAMETER__DESCRIPTION, PARAMETER__MAIN, PARAMETER__MANY, PARAMETER__NAME, PARAMETER__OPERATION, PARAMETER__REQUIRED, PARAMETER_FEATURE_COUNT
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createPackageContents()
Creates the meta-model objects for the package.org.eclipse.emf.ecore.EClass
getConstraint()
org.eclipse.emf.ecore.EReference
getConstraint_Operation()
org.eclipse.emf.ecore.EReference
getConstraint_Restricts()
DeclarationFactory
getDeclarationFactory()
org.eclipse.emf.ecore.EClass
getIdentifiedElement()
org.eclipse.emf.ecore.EAttribute
getIdentifiedElement_Description()
org.eclipse.emf.ecore.EAttribute
getIdentifiedElement_Name()
org.eclipse.emf.ecore.EClass
getLibrary()
org.eclipse.emf.ecore.EAttribute
getLibrary_Implementation()
org.eclipse.emf.ecore.EAttribute
getLibrary_Label()
org.eclipse.emf.ecore.EReference
getLibrary_Libraries()
org.eclipse.emf.ecore.EReference
getLibrary_Operations()
org.eclipse.emf.ecore.EClass
getOperation()
org.eclipse.emf.ecore.EAttribute
getOperation_After()
org.eclipse.emf.ecore.EAttribute
getOperation_Before()
org.eclipse.emf.ecore.EAttribute
getOperation_Breaking()
org.eclipse.emf.ecore.EReference
getOperation_Constraints()
org.eclipse.emf.ecore.EAttribute
getOperation_Deprecated()
org.eclipse.emf.ecore.EAttribute
getOperation_Implementation()
org.eclipse.emf.ecore.EAttribute
getOperation_Label()
org.eclipse.emf.ecore.EReference
getOperation_Library()
org.eclipse.emf.ecore.EReference
getOperation_Parameters()
org.eclipse.emf.ecore.EClass
getParameter()
org.eclipse.emf.ecore.EReference
getParameter_Classifier()
org.eclipse.emf.ecore.EAttribute
getParameter_ClassifierName()
org.eclipse.emf.ecore.EAttribute
getParameter_Main()
org.eclipse.emf.ecore.EAttribute
getParameter_Many()
org.eclipse.emf.ecore.EReference
getParameter_Operation()
org.eclipse.emf.ecore.EAttribute
getParameter_Required()
static DeclarationPackage
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 org.eclipse.emf.ecore.impl.EPackageImpl
basicGetESuperPackage, basicSetEFactoryInstance, eBasicRemoveFromContainerFeature, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eSet, eSetProxyURI, eUnset, freeze, getEClassifier, getEClassifierGen, getEClassifiers, getEFactoryInstance, getESubpackages, getESuperPackage, getExtendedMetaData, getNsPrefix, getNsURI, setEFactoryInstance, setExtendedMetaData, setNamespaceURI, setNsPrefix, setNsURI, toString
-
Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
eContents, eCrossReferences, getName, getNameGen, setName
-
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eURIFragmentSegment, getEAnnotation, getEAnnotations
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eInternalContainer
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eClass, eContainerFeatureID, eDeliver, eDirectResource, eIsProxy, eProxyURI, eSetClass, eSetDeliver
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
-
-
-
Method Detail
-
init
public static DeclarationPackage init()
Creates, registers, and initializes the Package for this model, and for any others upon which it depends.This method is used to initialize
DeclarationPackage.eINSTANCE
when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
-
getIdentifiedElement
public org.eclipse.emf.ecore.EClass getIdentifiedElement()
- Specified by:
getIdentifiedElement
in interfaceDeclarationPackage
- Returns:
- the meta object for class 'Identified Element'.
- See Also:
IdentifiedElement
-
getIdentifiedElement_Name
public org.eclipse.emf.ecore.EAttribute getIdentifiedElement_Name()
- Specified by:
getIdentifiedElement_Name
in interfaceDeclarationPackage
- Returns:
- the meta object for the attribute 'Name'.
- See Also:
IdentifiedElement.getName()
,DeclarationPackage.getIdentifiedElement()
-
getIdentifiedElement_Description
public org.eclipse.emf.ecore.EAttribute getIdentifiedElement_Description()
- Specified by:
getIdentifiedElement_Description
in interfaceDeclarationPackage
- Returns:
- the meta object for the attribute 'Description'.
- See Also:
IdentifiedElement.getDescription()
,DeclarationPackage.getIdentifiedElement()
-
getLibrary
public org.eclipse.emf.ecore.EClass getLibrary()
- Specified by:
getLibrary
in interfaceDeclarationPackage
- Returns:
- the meta object for class 'Library'.
- See Also:
Library
-
getLibrary_Operations
public org.eclipse.emf.ecore.EReference getLibrary_Operations()
- Specified by:
getLibrary_Operations
in interfaceDeclarationPackage
- Returns:
- the meta object for the containment reference list 'Operations'.
- See Also:
Library.getOperations()
,DeclarationPackage.getLibrary()
-
getLibrary_Implementation
public org.eclipse.emf.ecore.EAttribute getLibrary_Implementation()
- Specified by:
getLibrary_Implementation
in interfaceDeclarationPackage
- Returns:
- the meta object for the attribute 'Implementation'.
- See Also:
Library.getImplementation()
,DeclarationPackage.getLibrary()
-
getLibrary_Label
public org.eclipse.emf.ecore.EAttribute getLibrary_Label()
- Specified by:
getLibrary_Label
in interfaceDeclarationPackage
- Returns:
- the meta object for the attribute 'Label'.
- See Also:
Library.getLabel()
,DeclarationPackage.getLibrary()
-
getLibrary_Libraries
public org.eclipse.emf.ecore.EReference getLibrary_Libraries()
- Specified by:
getLibrary_Libraries
in interfaceDeclarationPackage
- Returns:
- the meta object for the containment reference list 'Libraries'.
- See Also:
Library.getLibraries()
,DeclarationPackage.getLibrary()
-
getOperation
public org.eclipse.emf.ecore.EClass getOperation()
- Specified by:
getOperation
in interfaceDeclarationPackage
- Returns:
- the meta object for class 'Operation'.
- See Also:
Operation
-
getOperation_Library
public org.eclipse.emf.ecore.EReference getOperation_Library()
- Specified by:
getOperation_Library
in interfaceDeclarationPackage
- Returns:
- the meta object for the container reference 'Library'.
- See Also:
Operation.getLibrary()
,DeclarationPackage.getOperation()
-
getOperation_Parameters
public org.eclipse.emf.ecore.EReference getOperation_Parameters()
- Specified by:
getOperation_Parameters
in interfaceDeclarationPackage
- Returns:
- the meta object for the containment reference list 'Parameters'.
- See Also:
Operation.getParameters()
,DeclarationPackage.getOperation()
-
getOperation_Constraints
public org.eclipse.emf.ecore.EReference getOperation_Constraints()
- Specified by:
getOperation_Constraints
in interfaceDeclarationPackage
- Returns:
- the meta object for the containment reference list 'Constraints'.
- See Also:
Operation.getConstraints()
,DeclarationPackage.getOperation()
-
getOperation_Deprecated
public org.eclipse.emf.ecore.EAttribute getOperation_Deprecated()
- Specified by:
getOperation_Deprecated
in interfaceDeclarationPackage
- Returns:
- the meta object for the attribute 'Deprecated'.
- See Also:
Operation.isDeprecated()
,DeclarationPackage.getOperation()
-
getOperation_Before
public org.eclipse.emf.ecore.EAttribute getOperation_Before()
- Specified by:
getOperation_Before
in interfaceDeclarationPackage
- Returns:
- the meta object for the attribute 'Before'.
- See Also:
Operation.getBefore()
,DeclarationPackage.getOperation()
-
getOperation_After
public org.eclipse.emf.ecore.EAttribute getOperation_After()
- Specified by:
getOperation_After
in interfaceDeclarationPackage
- Returns:
- the meta object for the attribute 'After'.
- See Also:
Operation.getAfter()
,DeclarationPackage.getOperation()
-
getOperation_Implementation
public org.eclipse.emf.ecore.EAttribute getOperation_Implementation()
- Specified by:
getOperation_Implementation
in interfaceDeclarationPackage
- Returns:
- the meta object for the attribute 'Implementation'.
- See Also:
Operation.getImplementation()
,DeclarationPackage.getOperation()
-
getOperation_Label
public org.eclipse.emf.ecore.EAttribute getOperation_Label()
- Specified by:
getOperation_Label
in interfaceDeclarationPackage
- Returns:
- the meta object for the attribute 'Label'.
- See Also:
Operation.getLabel()
,DeclarationPackage.getOperation()
-
getOperation_Breaking
public org.eclipse.emf.ecore.EAttribute getOperation_Breaking()
- Specified by:
getOperation_Breaking
in interfaceDeclarationPackage
- Returns:
- the meta object for the attribute 'Breaking'.
- See Also:
Operation.isBreaking()
,DeclarationPackage.getOperation()
-
getParameter
public org.eclipse.emf.ecore.EClass getParameter()
- Specified by:
getParameter
in interfaceDeclarationPackage
- Returns:
- the meta object for class 'Parameter'.
- See Also:
Parameter
-
getParameter_Operation
public org.eclipse.emf.ecore.EReference getParameter_Operation()
- Specified by:
getParameter_Operation
in interfaceDeclarationPackage
- Returns:
- the meta object for the container reference 'Operation'.
- See Also:
Parameter.getOperation()
,DeclarationPackage.getParameter()
-
getParameter_Required
public org.eclipse.emf.ecore.EAttribute getParameter_Required()
- Specified by:
getParameter_Required
in interfaceDeclarationPackage
- Returns:
- the meta object for the attribute 'Required'.
- See Also:
Parameter.isRequired()
,DeclarationPackage.getParameter()
-
getParameter_Main
public org.eclipse.emf.ecore.EAttribute getParameter_Main()
- Specified by:
getParameter_Main
in interfaceDeclarationPackage
- Returns:
- the meta object for the attribute 'Main'.
- See Also:
Parameter.isMain()
,DeclarationPackage.getParameter()
-
getParameter_Many
public org.eclipse.emf.ecore.EAttribute getParameter_Many()
- Specified by:
getParameter_Many
in interfaceDeclarationPackage
- Returns:
- the meta object for the attribute 'Many'.
- See Also:
Parameter.isMany()
,DeclarationPackage.getParameter()
-
getParameter_Classifier
public org.eclipse.emf.ecore.EReference getParameter_Classifier()
- Specified by:
getParameter_Classifier
in interfaceDeclarationPackage
- Returns:
- the meta object for the reference 'Classifier'.
- See Also:
Parameter.getClassifier()
,DeclarationPackage.getParameter()
-
getParameter_ClassifierName
public org.eclipse.emf.ecore.EAttribute getParameter_ClassifierName()
- Specified by:
getParameter_ClassifierName
in interfaceDeclarationPackage
- Returns:
- the meta object for the attribute 'Classifier Name'.
- See Also:
Parameter.getClassifierName()
,DeclarationPackage.getParameter()
-
getConstraint
public org.eclipse.emf.ecore.EClass getConstraint()
- Specified by:
getConstraint
in interfaceDeclarationPackage
- Returns:
- the meta object for class 'Constraint'.
- See Also:
Constraint
-
getConstraint_Operation
public org.eclipse.emf.ecore.EReference getConstraint_Operation()
- Specified by:
getConstraint_Operation
in interfaceDeclarationPackage
- Returns:
- the meta object for the container reference 'Operation'.
- See Also:
Constraint.getOperation()
,DeclarationPackage.getConstraint()
-
getConstraint_Restricts
public org.eclipse.emf.ecore.EReference getConstraint_Restricts()
- Specified by:
getConstraint_Restricts
in interfaceDeclarationPackage
- Returns:
- the meta object for the reference 'Restricts'.
- See Also:
Constraint.getRestricts()
,DeclarationPackage.getConstraint()
-
getDeclarationFactory
public DeclarationFactory getDeclarationFactory()
- Specified by:
getDeclarationFactory
in interfaceDeclarationPackage
- 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.
-
-