public class PackageImpl extends NamespaceImpl implements Package
The following features are implemented:
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplorg.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.emf.common.util.EList<Package> |
importedPackage
The cached value of the '
Imported Package' reference list. |
protected org.eclipse.emf.common.util.EList<Package> |
nestedPackage
The cached value of the '
Nested Package' containment reference list. |
protected static java.lang.String |
NS_PREFIX_EDEFAULT
The default value of the '
Ns Prefix' attribute. |
protected static java.lang.String |
NS_URI_EDEFAULT
The default value of the '
Ns URI' attribute. |
protected java.lang.String |
nsPrefix
The cached value of the '
Ns Prefix' attribute. |
protected java.lang.String |
nsURI
The cached value of the '
Ns URI' attribute. |
protected TemplateSignature |
ownedTemplateSignature
The cached value of the '
Owned Template Signature' containment reference. |
protected org.eclipse.emf.common.util.EList<Type> |
ownedType
The cached value of the '
Owned Type' containment reference list. |
protected org.eclipse.emf.common.util.EList<TemplateBinding> |
templateBinding
The cached value of the '
Template Binding' containment reference list. |
protected TemplateableElement |
unspecializedElement
The cached value of the '
Unspecialized Element' reference. |
ownedRuleIS_STATIC_EDEFAULT, IS_STATIC_EFLAG, name, NAME_EDEFAULT, ownedAnnotationextension, ownedCommenteAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY| Modifier | Constructor and Description |
|---|---|
protected |
PackageImpl() |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
accept(Visitor<R> visitor)
Returns the result of accepting a visit from a visitor.
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetNestingPackage(Package newNestingPackage,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetOwnedTemplateSignature(TemplateSignature newOwnedTemplateSignature,
org.eclipse.emf.common.notify.NotificationChain msgs) |
Package |
createNestedPackage() |
Package |
createNestedPackage(org.eclipse.emf.ecore.EClass eClass) |
TemplateSignature |
createOwnedTemplateSignature() |
Type |
createOwnedType() |
Type |
createOwnedType(org.eclipse.emf.ecore.EClass eClass) |
TemplateBinding |
createTemplateBinding() |
int |
eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass) |
org.eclipse.emf.common.notify.NotificationChain |
eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) |
int |
eDerivedOperationID(int baseOperationID,
java.lang.Class<?> baseClass) |
int |
eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
java.lang.Object |
eInvoke(int operationID,
org.eclipse.emf.common.util.EList<?> arguments) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
org.eclipse.emf.ecore.EPackage |
getEPackage() |
java.util.List<Package> |
getImportedPackage() |
java.util.List<Package> |
getNestedPackage() |
Package |
getNestingPackage() |
java.lang.String |
getNsPrefix() |
java.lang.String |
getNsURI() |
TemplateSignature |
getOwnedTemplateSignature() |
java.util.List<Type> |
getOwnedType() |
PackageId |
getPackageId() |
java.util.List<TemplateBinding> |
getTemplateBinding() |
TemplateableElement |
getUnspecializedElement() |
boolean |
isTemplate() |
java.util.List<ParameterableElement> |
parameterableElements() |
void |
setNestingPackage(Package newNestingPackage) |
void |
setNsPrefix(java.lang.String newNsPrefix) |
void |
setNsURI(java.lang.String newNsURI) |
void |
setOwnedTemplateSignature(TemplateSignature newOwnedTemplateSignature) |
void |
setUnspecializedElement(TemplateableElement newUnspecializedElement) |
java.lang.String |
toString() |
createOwnedRule, getOwnedRulecreateOwnedAnnotation, getName, getOwnedAnnotation, isStatic, setIsStatic, setNameallOwnedElements, create, createExtension, createOwnedComment, getExtension, getOwnedComment, getValuegetETarget, getTarget, isAdapterForType, notifyChanged, setTarget, unsetTargeteAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIeAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValueseBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateOwnedRule, getOwnedRulecreateOwnedAnnotation, getName, getOwnedAnnotation, isStatic, setIsStatic, setNameallOwnedElements, createExtension, createOwnedComment, getETarget, getExtension, getOwnedComment, getValueeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetprotected org.eclipse.emf.common.util.EList<TemplateBinding> templateBinding
Template Binding' containment reference list.
getTemplateBinding()protected TemplateSignature ownedTemplateSignature
Owned Template Signature' containment reference.
getOwnedTemplateSignature()protected TemplateableElement unspecializedElement
Unspecialized Element' reference.
getUnspecializedElement()protected org.eclipse.emf.common.util.EList<Package> nestedPackage
Nested Package' containment reference list.
getNestedPackage()protected static final java.lang.String NS_PREFIX_EDEFAULT
Ns Prefix' attribute.
getNsPrefix()protected java.lang.String nsPrefix
Ns Prefix' attribute.
getNsPrefix()protected static final java.lang.String NS_URI_EDEFAULT
Ns URI' attribute.
getNsURI()protected java.lang.String nsURI
Ns URI' attribute.
getNsURI()protected org.eclipse.emf.common.util.EList<Package> importedPackage
Imported Package' reference list.
getImportedPackage()protected org.eclipse.emf.common.util.EList<Type> ownedType
Owned Type' containment reference list.
getOwnedType()protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class NamespaceImplpublic java.util.List<TemplateBinding> getTemplateBinding()
getTemplateBinding in interface TemplateableElementPivotPackage.getTemplateableElement_TemplateBinding(),
TemplateBinding.getBoundElement()public TemplateBinding createTemplateBinding()
createTemplateBinding in interface TemplateableElementTemplateBinding.TemplateableElement.getTemplateBinding()public TemplateSignature getOwnedTemplateSignature()
getOwnedTemplateSignature in interface TemplateableElementTemplateableElement.setOwnedTemplateSignature(TemplateSignature),
PivotPackage.getTemplateableElement_OwnedTemplateSignature(),
TemplateSignature.getTemplate()public org.eclipse.emf.common.notify.NotificationChain basicSetOwnedTemplateSignature(TemplateSignature newOwnedTemplateSignature, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setOwnedTemplateSignature(TemplateSignature newOwnedTemplateSignature)
setOwnedTemplateSignature in interface TemplateableElementnewOwnedTemplateSignature - the new value of the 'Owned Template Signature' containment reference.TemplateableElement.getOwnedTemplateSignature()public TemplateSignature createOwnedTemplateSignature()
createOwnedTemplateSignature in interface TemplateableElementTemplateSignature.TemplateableElement.getOwnedTemplateSignature()public TemplateableElement getUnspecializedElement()
getUnspecializedElement in interface TemplateableElementTemplateableElement.setUnspecializedElement(TemplateableElement),
PivotPackage.getTemplateableElement_UnspecializedElement()public void setUnspecializedElement(TemplateableElement newUnspecializedElement)
setUnspecializedElement in interface TemplateableElementnewUnspecializedElement - the new value of the 'Unspecialized Element' reference.TemplateableElement.getUnspecializedElement()public java.util.List<Package> getNestedPackage()
getNestedPackage in interface DomainPackagegetNestedPackage in interface PackagePivotPackage.getPackage_NestedPackage(),
Package.getNestingPackage()public java.lang.String getNsPrefix()
getNsPrefix in interface DomainPackagegetNsPrefix in interface PackagePackage.setNsPrefix(String),
PivotPackage.getPackage_NsPrefix()public void setNsPrefix(java.lang.String newNsPrefix)
setNsPrefix in interface PackagenewNsPrefix - the new value of the 'Ns Prefix' attribute.Package.getNsPrefix()public java.lang.String getNsURI()
getNsURI in interface DomainPackagegetNsURI in interface PackagePackage.setNsURI(String),
PivotPackage.getPackage_NsURI()public void setNsURI(java.lang.String newNsURI)
setNsURI in interface PackagenewNsURI - the new value of the 'Ns URI' attribute.Package.getNsURI()public java.util.List<Package> getImportedPackage()
getImportedPackage in interface PackagePivotPackage.getPackage_ImportedPackage()public java.util.List<Type> getOwnedType()
getOwnedType in interface DomainPackagegetOwnedType in interface PackagePivotPackage.getPackage_OwnedType(),
Type.getPackage()public Package createNestedPackage(org.eclipse.emf.ecore.EClass eClass)
createNestedPackage in interface PackageeClass - The Ecore class of the Package to create.Package.Package.getNestedPackage()public Package createNestedPackage()
createNestedPackage in interface PackagePackage.Package.getNestedPackage()public Package getNestingPackage()
getNestingPackage in interface DomainPackagegetNestingPackage in interface PackagePackage.setNestingPackage(Package),
PivotPackage.getPackage_NestingPackage(),
Package.getNestedPackage()public org.eclipse.emf.common.notify.NotificationChain basicSetNestingPackage(Package newNestingPackage, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setNestingPackage(Package newNestingPackage)
setNestingPackage in interface PackagenewNestingPackage - the new value of the 'Nesting Package' container reference.Package.getNestingPackage()public Type createOwnedType(org.eclipse.emf.ecore.EClass eClass)
createOwnedType in interface PackageeClass - The Ecore class of the Type to create.Type.Package.getOwnedType()public Type createOwnedType()
createOwnedType in interface PackageType.Package.getOwnedType()public java.util.List<ParameterableElement> parameterableElements()
parameterableElements in interface TemplateableElementpublic boolean isTemplate()
isTemplate in interface TemplateableElementpublic org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseAdd in class ElementImplpublic org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove in class NamespaceImplpublic org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
eBasicRemoveFromContainerFeature in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class NamespaceImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class NamespaceImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class NamespaceImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class NamespaceImplpublic int eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass)
eBaseStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObjecteBaseStructuralFeatureID in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic int eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass)
eDerivedStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObjecteDerivedStructuralFeatureID in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic int eDerivedOperationID(int baseOperationID,
java.lang.Class<?> baseClass)
eDerivedOperationID in interface org.eclipse.emf.ecore.InternalEObjecteDerivedOperationID in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic java.lang.Object eInvoke(int operationID,
org.eclipse.emf.common.util.EList<?> arguments)
throws java.lang.reflect.InvocationTargetException
eInvoke in interface org.eclipse.emf.ecore.InternalEObjecteInvoke in class ElementImpljava.lang.reflect.InvocationTargetExceptionpublic java.lang.String toString()
toString in class NamedElementImplpublic <R> R accept(@NonNull
Visitor<R> visitor)
VisitableImplementations of visit() may use the EcoreSwitch to perform derived-class-specific processing.
Derived implementations of accept() may use getAdapter() to obtain richer visitor interfaces.
accept in interface Visitableaccept in class NamespaceImpl@Nullable public org.eclipse.emf.ecore.EPackage getEPackage()
getEPackage in interface DomainPackage@NonNull public PackageId getPackageId()
getPackageId in interface DomainPackage