public class CGPackageImpl extends CGNamedElementImpl implements CGPackage
The following features are implemented:
| Modifier and Type | Method and Description |
|---|---|
<R> R |
accept(CGModelVisitor<R> visitor)
Accept a visit from a visitor and return the result of a call to the derived type-specific visitXXX in the visitor.
|
NotificationChain |
basicSetContainingPackage(CGPackage newContainingPackage,
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) |
List<CGClass> |
getClasses() |
CGPackage |
getContainingPackage() |
List<CGPackage> |
getPackages() |
void |
setContainingPackage(CGPackage newContainingPackage) |
getAst, getName, setAst, setName, toStringeBasicSetContainer, getChildren, getParent, getPlace, isContext, rewriteAsequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAst, getName, setAst, setNamepublic List<CGClass> getClasses()
getClasses in interface CGPackageCGModelPackage.getCGPackage_Classes(),
CGClass.getContainingPackage()public List<CGPackage> getPackages()
getPackages in interface CGPackageCGModelPackage.getCGPackage_Packages(),
CGPackage.getContainingPackage()public CGPackage getContainingPackage()
getContainingPackage in interface CGPackageCGPackage.setContainingPackage(CGPackage),
CGModelPackage.getCGPackage_ContainingPackage(),
CGPackage.getPackages()public NotificationChain basicSetContainingPackage(CGPackage newContainingPackage, NotificationChain msgs)
public void setContainingPackage(CGPackage newContainingPackage)
setContainingPackage in interface CGPackagenewContainingPackage - the new value of the 'Containing Package' container reference.CGPackage.getContainingPackage()public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in class CGNamedElementImplpublic void eSet(int featureID,
Object newValue)
eSet in class CGNamedElementImplpublic void eUnset(int featureID)
eUnset in class CGNamedElementImplpublic boolean eIsSet(int featureID)
eIsSet in class CGNamedElementImplpublic <R> R accept(CGModelVisitor<R> visitor)
accept in interface CGElementaccept in class CGElementImplCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.