public class PackageImpl extends NamespaceImpl implements Package
The following features are implemented:
| 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() |
NotificationChain |
basicSetOwningPackage(Package newOwningPackage,
NotificationChain msgs) |
NotificationChain |
eBasicRemoveFromContainerFeature(NotificationChain msgs) |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
EPackage |
getEPackage() |
List<Package> |
getImportedPackages() |
String |
getNsPrefix() |
Class |
getOwnedClass(String className) |
List<Class> |
getOwnedClasses()
Returns the value of the 'Owned Classes' containment reference list.
|
List<InstanceSpecification> |
getOwnedInstances() |
List<Package> |
getOwnedPackages()
Returns the value of the 'Owned Packages' containment reference list.
|
List<ProfileApplication> |
getOwnedProfileApplications() |
Package |
getOwningPackage() |
PackageId |
getPackageId() |
String |
getURI() |
boolean |
isIgnoreInvariants() |
void |
removePackageListener(PackageListeners.IPackageListener packageListener) |
void |
setIgnoreInvariants(boolean ignoreInvariants) |
void |
setName(String newName) |
void |
setNsPrefix(String newNsPrefix) |
void |
setOwningPackage(Package newOwningPackage) |
void |
setPackageId(PackageId packageId) |
void |
setURI(String newURI)
Sets the value of the '
URI' attribute. |
void |
setURIGen(String newURI) |
String |
toString() |
getOwnedConstraintsgetNameallOwnedElements, eInvoke, getAnnotatingComments, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValuegetESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget, unloadedequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetOwnedConstraintsgetNameallOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValuepublic String getNsPrefix()
getNsPrefix in interface PackagePackage.setNsPrefix(String),
PivotPackage.getPackage_NsPrefix()public void setNsPrefix(String newNsPrefix)
setNsPrefix in interface PackagenewNsPrefix - the new value of the 'Ns Prefix' attribute.Package.getNsPrefix()public void setURIGen(String newURI)
public String getURI()
getURI in interface PackagePackage.setURI(String),
PivotPackage.getPackage_URI()public List<Package> getImportedPackages()
getImportedPackages in interface PackagePivotPackage.getPackage_ImportedPackages()public List<InstanceSpecification> getOwnedInstances()
getOwnedInstances in interface PackagePivotPackage.getPackage_OwnedInstances(),
InstanceSpecification.getOwningPackage()public Package getOwningPackage()
getOwningPackage in interface PackagePackage.setOwningPackage(Package),
PivotPackage.getPackage_OwningPackage(),
Package.getOwnedPackages()public NotificationChain basicSetOwningPackage(Package newOwningPackage, NotificationChain msgs)
public void setOwningPackage(Package newOwningPackage)
setOwningPackage in interface PackagenewOwningPackage - the new value of the 'Owning Package' container reference.Package.getOwningPackage()public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseAdd in class ElementImplpublic NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseRemove in class NamespaceImplpublic NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in class NamespaceImplpublic void eSet(int featureID,
Object newValue)
eSet in class NamespaceImplpublic void eUnset(int featureID)
eUnset in class NamespaceImplpublic boolean eIsSet(int featureID)
eIsSet in class NamespaceImplpublic <R> R accept(Visitor<R> visitor)
Elementpublic void addPackageListener(PackageListeners.IPackageListener packageListener)
public PackageId basicGetPackageId()
public EPackage getEPackage()
getEPackage in interface Packagepublic Class getOwnedClass(String className)
getOwnedClass in interface Packagepublic List<Class> getOwnedClasses()
PackageClass.
It is bidirectional and its opposite is 'Owning Package'.
References the packaged elements that are Types.
getOwnedClasses in interface PackagePivotPackage.getPackage_OwnedClasses(),
Class.getOwningPackage()public List<Package> getOwnedPackages()
PackagePackage.
It is bidirectional and its opposite is 'Owning Package'.
References the packaged elements that are Packages.
getOwnedPackages in interface PackagePivotPackage.getPackage_OwnedPackages(),
Package.getOwningPackage()public List<ProfileApplication> getOwnedProfileApplications()
getOwnedProfileApplications in interface PackagePivotPackage.getPackage_OwnedProfileApplications(),
ProfileApplication.getOwningPackage()public PackageId getPackageId()
getPackageId in interface Packagepublic boolean isIgnoreInvariants()
public void removePackageListener(PackageListeners.IPackageListener packageListener)
public void setIgnoreInvariants(boolean ignoreInvariants)
public void setName(String newName)
NamedElementImplsetName in interface NamedElementsetName in class NamedElementImplnewName - the new value of the 'Name' attribute.NamedElement.getName()public void setPackageId(PackageId packageId)
public void setURI(String newURI)
PackageURI' attribute.
setURI in interface PackagenewURI - the new value of the 'URI' attribute.Package.getURI()public String toString()
NamedElementImpltoString in class NamedElementImplCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.