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, toString
eBasicSetContainer, getChildren, getParent, getPlace, isContext, rewriteAs
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAst, getName, setAst, setName
public List<CGClass> getClasses()
getClasses
in interface CGPackage
CGModelPackage.getCGPackage_Classes()
,
CGClass.getContainingPackage()
public List<CGPackage> getPackages()
getPackages
in interface CGPackage
CGModelPackage.getCGPackage_Packages()
,
CGPackage.getContainingPackage()
public CGPackage getContainingPackage()
getContainingPackage
in interface CGPackage
CGPackage.setContainingPackage(CGPackage)
,
CGModelPackage.getCGPackage_ContainingPackage()
,
CGPackage.getPackages()
public NotificationChain basicSetContainingPackage(CGPackage newContainingPackage, NotificationChain msgs)
public void setContainingPackage(CGPackage newContainingPackage)
setContainingPackage
in interface CGPackage
newContainingPackage
- 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 CGNamedElementImpl
public void eSet(int featureID, Object newValue)
eSet
in class CGNamedElementImpl
public void eUnset(int featureID)
eUnset
in class CGNamedElementImpl
public boolean eIsSet(int featureID)
eIsSet
in class CGNamedElementImpl
public <R> R accept(CGModelVisitor<R> visitor)
accept
in interface CGElement
accept
in class CGElementImpl
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.