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() |
getOwnedConstraints
getName
allOwnedElements, eInvoke, getAnnotatingComments, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
getESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget, unloaded
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getOwnedConstraints
getName
allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
public String getNsPrefix()
getNsPrefix
in interface Package
Package.setNsPrefix(String)
,
PivotPackage.getPackage_NsPrefix()
public void setNsPrefix(String newNsPrefix)
setNsPrefix
in interface Package
newNsPrefix
- the new value of the 'Ns Prefix' attribute.Package.getNsPrefix()
public void setURIGen(String newURI)
public String getURI()
getURI
in interface Package
Package.setURI(String)
,
PivotPackage.getPackage_URI()
public List<Package> getImportedPackages()
getImportedPackages
in interface Package
PivotPackage.getPackage_ImportedPackages()
public 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 NotificationChain basicSetOwningPackage(Package newOwningPackage, NotificationChain msgs)
public void setOwningPackage(Package newOwningPackage)
setOwningPackage
in interface Package
newOwningPackage
- the new value of the 'Owning Package' container reference.Package.getOwningPackage()
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class ElementImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class NamespaceImpl
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class NamespaceImpl
public void eSet(int featureID, Object newValue)
eSet
in class NamespaceImpl
public void eUnset(int featureID)
eUnset
in class NamespaceImpl
public boolean eIsSet(int featureID)
eIsSet
in class NamespaceImpl
public <R> R accept(Visitor<R> visitor)
Element
public void addPackageListener(PackageListeners.IPackageListener packageListener)
public PackageId basicGetPackageId()
public EPackage getEPackage()
getEPackage
in interface Package
public Class getOwnedClass(String className)
getOwnedClass
in interface Package
public 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()
public 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 List<ProfileApplication> getOwnedProfileApplications()
getOwnedProfileApplications
in interface Package
PivotPackage.getPackage_OwnedProfileApplications()
,
ProfileApplication.getOwningPackage()
public PackageId getPackageId()
getPackageId
in interface Package
public boolean isIgnoreInvariants()
public void removePackageListener(PackageListeners.IPackageListener packageListener)
public void setIgnoreInvariants(boolean ignoreInvariants)
public void setName(String newName)
NamedElementImpl
setName
in interface NamedElement
setName
in class NamedElementImpl
newName
- the new value of the 'Name' attribute.NamedElement.getName()
public void setPackageId(PackageId packageId)
public void setURI(String newURI)
Package
URI
' attribute.
setURI
in interface Package
newURI
- the new value of the 'URI' attribute.Package.getURI()
public String toString()
NamedElementImpl
toString
in class NamedElementImpl
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.