org.eclipse.ocl.cst.impl
Class PackageDeclarationCSImpl

java.lang.Object
  extended by EObjectImpl
      extended by org.eclipse.ocl.cst.impl.CSTNodeImpl
          extended by org.eclipse.ocl.cst.impl.PackageDeclarationCSImpl
All Implemented Interfaces:
CSTNode, PackageDeclarationCS

public class PackageDeclarationCSImpl
extends CSTNodeImpl
implements PackageDeclarationCS

An implementation of the model object 'Package Declaration CS'.

The following features are implemented:


Field Summary
protected   contextDecls
          The cached value of the 'Context Decls' containment reference list
protected  PackageDeclarationCS packageDeclarationCS
          The cached value of the 'Package Declaration CS' reference
protected  PathNameCS pathNameCS
          The cached value of the 'Path Name CS' containment reference
 
Fields inherited from class org.eclipse.ocl.cst.impl.CSTNodeImpl
ast, AST_EDEFAULT, END_OFFSET_EDEFAULT, END_TOKEN_EDEFAULT, endOffset, endToken, START_OFFSET_EDEFAULT, START_TOKEN_EDEFAULT, startOffset, startToken
 
Constructor Summary
protected PackageDeclarationCSImpl()
           
 
Method Summary
 PackageDeclarationCS basicGetPackageDeclarationCS()
           
 NotificationChain basicSetPathNameCS(PathNameCS newPathNameCS, NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
  getContextDecls()
           
 PackageDeclarationCS getPackageDeclarationCS()
           
 PathNameCS getPathNameCS()
           
 void setPackageDeclarationCS(PackageDeclarationCS newPackageDeclarationCS)
           
 void setPathNameCS(PathNameCS newPathNameCS)
           
 
Methods inherited from class org.eclipse.ocl.cst.impl.CSTNodeImpl
getAst, getEndOffset, getEndToken, getStartOffset, getStartToken, setAst, setEndOffset, setEndToken, setStartOffset, setStartToken, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.ocl.cst.CSTNode
getAst, getEndOffset, getEndToken, getStartOffset, getStartToken, setAst, setEndOffset, setEndToken, setStartOffset, setStartToken
 

Field Detail

pathNameCS

protected PathNameCS pathNameCS
The cached value of the 'Path Name CS' containment reference.

See Also:
getPathNameCS()

contextDecls

protected  contextDecls
The cached value of the 'Context Decls' containment reference list.

See Also:
getContextDecls()

packageDeclarationCS

protected PackageDeclarationCS packageDeclarationCS
The cached value of the 'Package Declaration CS' reference.

See Also:
getPackageDeclarationCS()
Constructor Detail

PackageDeclarationCSImpl

protected PackageDeclarationCSImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class CSTNodeImpl

getPathNameCS

public PathNameCS getPathNameCS()

Specified by:
getPathNameCS in interface PackageDeclarationCS
Returns:
the value of the 'Path Name CS' containment reference.
See Also:
PackageDeclarationCS.setPathNameCS(PathNameCS), CSTPackage.getPackageDeclarationCS_PathNameCS()

basicSetPathNameCS

public NotificationChain basicSetPathNameCS(PathNameCS newPathNameCS,
                                            NotificationChain msgs)


setPathNameCS

public void setPathNameCS(PathNameCS newPathNameCS)

Specified by:
setPathNameCS in interface PackageDeclarationCS
Parameters:
newPathNameCS - the new value of the 'Path Name CS' containment reference.
See Also:
PackageDeclarationCS.getPathNameCS()

getContextDecls

public  getContextDecls()

Specified by:
getContextDecls in interface PackageDeclarationCS
Returns:
the value of the 'Context Decls' containment reference list.
See Also:
CSTPackage.getPackageDeclarationCS_ContextDecls()

getPackageDeclarationCS

public PackageDeclarationCS getPackageDeclarationCS()

Specified by:
getPackageDeclarationCS in interface PackageDeclarationCS
Returns:
the value of the 'Package Declaration CS' reference.
See Also:
PackageDeclarationCS.setPackageDeclarationCS(PackageDeclarationCS), CSTPackage.getPackageDeclarationCS_PackageDeclarationCS()

basicGetPackageDeclarationCS

public PackageDeclarationCS basicGetPackageDeclarationCS()


setPackageDeclarationCS

public void setPackageDeclarationCS(PackageDeclarationCS newPackageDeclarationCS)

Specified by:
setPackageDeclarationCS in interface PackageDeclarationCS
Parameters:
newPackageDeclarationCS - the new value of the 'Package Declaration CS' reference.
See Also:
PackageDeclarationCS.getPackageDeclarationCS()

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)


eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Overrides:
eGet in class CSTNodeImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Overrides:
eSet in class CSTNodeImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class CSTNodeImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class CSTNodeImpl

Copyright 2002, 2007 IBM Corporation and others.
All Rights Reserved.