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.EPropertiesHolderImpl
org.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> |
importedPackages
The cached value of the '
Imported Packages ' reference list. |
protected static java.lang.String |
NS_PREFIX_EDEFAULT
The default value of the '
Ns Prefix ' attribute. |
protected java.lang.String |
nsPrefix
The cached value of the '
Ns Prefix ' attribute. |
protected org.eclipse.emf.common.util.EList<Class> |
ownedClasses
The cached value of the '
Owned Classes ' containment reference list. |
protected org.eclipse.emf.common.util.EList<InstanceSpecification> |
ownedInstances
The cached value of the '
Owned Instances ' containment reference list. |
protected org.eclipse.emf.common.util.EList<Package> |
ownedPackages
The cached value of the '
Owned Packages ' containment reference list. |
protected org.eclipse.emf.common.util.EList<ProfileApplication> |
ownedProfileApplications
The cached value of the '
Owned Profile Applications ' containment reference list. |
protected java.lang.String |
uri
The cached value of the '
URI ' attribute. |
protected static java.lang.String |
URI_EDEFAULT
The default value of the '
URI ' attribute. |
ownedConstraints
name, NAME_EDEFAULT
annotatingComments, ownedAnnotations, ownedComments, ownedExtensions
eAdapters, 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)
Accept a visit from a visitor and return the result of a call to the derived type-specific visitXXX in the visitor.
|
void |
addPackageListener(PackageListeners.IPackageListener packageListener) |
PackageId |
basicGetPackageId() |
org.eclipse.emf.common.notify.NotificationChain |
basicSetOwningPackage(Package newOwningPackage,
org.eclipse.emf.common.notify.NotificationChain msgs) |
protected void |
didAddClass(Class partialClass) |
protected void |
didAddPackage(Package partialPackage) |
protected void |
didRemoveClass(Class partialClass) |
protected void |
didRemovePackage(Package partialPackage) |
org.eclipse.emf.common.notify.NotificationChain |
eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) |
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) |
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> |
getImportedPackages() |
java.lang.String |
getNsPrefix() |
Class |
getOwnedClass(java.lang.String className) |
java.util.List<Class> |
getOwnedClasses()
Returns the value of the 'Owned Classes' containment reference list.
|
java.util.List<InstanceSpecification> |
getOwnedInstances() |
java.util.List<Package> |
getOwnedPackages()
Returns the value of the 'Owned Packages' containment reference list.
|
java.util.List<ProfileApplication> |
getOwnedProfileApplications() |
Package |
getOwningPackage() |
PackageId |
getPackageId() |
java.lang.String |
getURI() |
boolean |
isIgnoreInvariants() |
void |
removePackageListener(PackageListeners.IPackageListener packageListener) |
void |
setIgnoreInvariants(boolean ignoreInvariants) |
void |
setName(java.lang.String newName) |
void |
setNsPrefix(java.lang.String newNsPrefix) |
void |
setOwningPackage(Package newOwningPackage) |
void |
setPackageId(PackageId packageId) |
void |
setURI(java.lang.String newURI)
Sets the value of the '
URI ' attribute. |
void |
setURIGen(java.lang.String newURI) |
java.lang.String |
toString() |
getOwnedConstraints
getName
allOwnedElements, eInvoke, getAnnotatingComments, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
eBasicSetContainer, getESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget, unloaded
eAdapters, eBasicAdapters, eBasicProperties, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, 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, eVirtualValues
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getOwnedConstraints
getName
allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected static final java.lang.String URI_EDEFAULT
URI
' attribute.
getURI()
protected java.lang.String uri
URI
' attribute.
getURI()
protected org.eclipse.emf.common.util.EList<Package> importedPackages
Imported Packages
' reference list.
getImportedPackages()
protected static final java.lang.String NS_PREFIX_EDEFAULT
Ns Prefix
' attribute.
getNsPrefix()
protected java.lang.String nsPrefix
Ns Prefix
' attribute.
getNsPrefix()
protected org.eclipse.emf.common.util.EList<Class> ownedClasses
Owned Classes
' containment reference list.
getOwnedClasses()
protected org.eclipse.emf.common.util.EList<InstanceSpecification> ownedInstances
Owned Instances
' containment reference list.
getOwnedInstances()
protected org.eclipse.emf.common.util.EList<Package> ownedPackages
Owned Packages
' containment reference list.
getOwnedPackages()
protected org.eclipse.emf.common.util.EList<ProfileApplication> ownedProfileApplications
Owned Profile Applications
' containment reference list.
getOwnedProfileApplications()
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class NamespaceImpl
public java.lang.String getNsPrefix()
getNsPrefix
in interface Package
Package.setNsPrefix(String)
,
PivotPackage.getPackage_NsPrefix()
public void setNsPrefix(java.lang.String newNsPrefix)
setNsPrefix
in interface Package
newNsPrefix
- the new value of the 'Ns Prefix' attribute.Package.getNsPrefix()
public void setURIGen(java.lang.String newURI)
public java.lang.String getURI()
getURI
in interface Package
Package.setURI(String)
,
PivotPackage.getPackage_URI()
@NonNull public java.util.List<Package> getImportedPackages()
getImportedPackages
in interface Package
PivotPackage.getPackage_ImportedPackages()
public java.util.List<InstanceSpecification> getOwnedInstances()
getOwnedInstances
in interface Package
PivotPackage.getPackage_OwnedInstances()
,
InstanceSpecification.getOwningPackage()
public Package getOwningPackage()
getOwningPackage
in interface Package
Package.setOwningPackage(Package)
,
PivotPackage.getPackage_OwningPackage()
,
Package.getOwnedPackages()
public org.eclipse.emf.common.notify.NotificationChain basicSetOwningPackage(Package newOwningPackage, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setOwningPackage(Package newOwningPackage)
setOwningPackage
in interface Package
newOwningPackage
- the new value of the 'Owning Package' container reference.Package.getOwningPackage()
public 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 ElementImpl
public 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 NamespaceImpl
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
eBasicRemoveFromContainerFeature
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class NamespaceImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class NamespaceImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class NamespaceImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class NamespaceImpl
public <R> R accept(@NonNull Visitor<R> visitor)
Element
public void addPackageListener(@NonNull PackageListeners.IPackageListener packageListener)
@Nullable public org.eclipse.emf.ecore.EPackage getEPackage()
getEPackage
in interface Package
@Nullable public Class getOwnedClass(java.lang.String className)
getOwnedClass
in interface Package
@NonNull public java.util.List<Class> getOwnedClasses()
Package
Class
.
It is bidirectional and its opposite is 'Owning Package
'.
References the packaged elements that are Types.
getOwnedClasses
in interface Package
PivotPackage.getPackage_OwnedClasses()
,
Class.getOwningPackage()
@NonNull public java.util.List<Package> getOwnedPackages()
Package
Package
.
It is bidirectional and its opposite is 'Owning Package
'.
References the packaged elements that are Packages.
getOwnedPackages
in interface Package
PivotPackage.getPackage_OwnedPackages()
,
Package.getOwningPackage()
public java.util.List<ProfileApplication> getOwnedProfileApplications()
getOwnedProfileApplications
in interface Package
PivotPackage.getPackage_OwnedProfileApplications()
,
ProfileApplication.getOwningPackage()
@NonNull public PackageId getPackageId()
getPackageId
in interface Package
public boolean isIgnoreInvariants()
public void removePackageListener(@NonNull PackageListeners.IPackageListener packageListener)
public void setIgnoreInvariants(boolean ignoreInvariants)
public void setName(java.lang.String newName)
NamedElementImpl
setName
in interface NamedElement
setName
in class NamedElementImpl
newName
- the new value of the 'Name' attribute.NamedElement.getName()
public void setURI(java.lang.String newURI)
Package
URI
' attribute.
setURI
in interface Package
newURI
- the new value of the 'URI' attribute.Package.getURI()
public java.lang.String toString()
NamedElementImpl
toString
in class NamedElementImpl