uk.ac.ucl.cs.emofocl.jmi.impl.ocl2.expressions
Class OperationCallExp_Impl

java.lang.Object
  extended by uk.ac.ucl.cs.emofocl.jmi.reflect.RefBaseObjectImpl
      extended by uk.ac.ucl.cs.emofocl.jmi.reflect.RefFeaturedImpl
          extended by uk.ac.ucl.cs.emofocl.jmi.reflect.RefObjectImpl
              extended by uk.ac.ucl.cs.emofocl.jmi.reflect.extended.ExtObjectImpl
                  extended by uk.ac.ucl.cs.emofocl.jmi.impl.ocl2.expressions.OperationCallExp_Impl
All Implemented Interfaces:
javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, Element, MOFObject, NamedElement, CallExp, FeatureCallExp, OclExpression, OperationCallExp, ExtObject

public class OperationCallExp_Impl
extends ExtObjectImpl
implements OperationCallExp


Nested Class Summary
 
Nested classes/interfaces inherited from class uk.ac.ucl.cs.emofocl.jmi.reflect.RefFeaturedImpl
RefFeaturedImpl.Getter, RefFeaturedImpl.Setter
 
Field Summary
 
Fields inherited from class uk.ac.ucl.cs.emofocl.jmi.reflect.RefObjectImpl
DELEGATOR, MOF_ID, PROXY
 
Fields inherited from class uk.ac.ucl.cs.emofocl.jmi.reflect.RefBaseObjectImpl
IMMEDIATE_PACKAGE, META_OBJECT
 
Constructor Summary
OperationCallExp_Impl(RefPackageImpl immediatePackage, javax.jmi.reflect.RefObject metaObject, RefClassImpl proxy, javax.jmi.reflect.RefObject delegator)
           
 
Method Summary
 ExtObject extDeepCopy(Map objectMap)
           
 boolean extEquals(ExtObject extObject)
           
 int extValueHash()
           
 Object extVisit(ExtVisitor visitor, Object argument)
           
 CallExp getAppliedElement()
           
 Collection getArgument()
           
 CollectionItem getCollectionItem()
           
 CollectionRange getCollectionRangeAsFirst()
           
 CollectionRange getCollectionRangeAsSecond()
           
 String getComment()
           
 IfExp getIfExpAsCondition()
           
 IfExp getIfExpAsElse()
           
 IfExp getIfExpAsThen()
           
 VariableDeclaration getInitializedVariable()
           
 LetExp getLetExp()
           
 LoopExp getLoopExp()
           
 MOFClass getMOFClass()
           
 String getName()
           
 Operation getOperation()
           
 OperationCallExp getParentCall()
           
 NavigationCallExp getParentNav()
           
 Property getPropertyAsDefaultValue()
           
 Operation getReferredOperation()
           
 Type getSelfType()
           
 OclExpression getSource()
           
 Type getType()
           
 void refDelete()
          Removes all references to this object, and calls superclass proxies to do the same.
 Object refGetValue(String featureName)
           
 Object refInvokeOperation(String requestedOperation, List args)
          Not implemented.
 void refSetValue(String featureName, Object value)
           
 Collection refVerifyConstraints(boolean deepVerify)
           
 void setAppliedElement(CallExp appliedElement)
           
 void setClass(MOFClass jMIClass)
           
 void setCollectionItem(CollectionItem collectionItem)
           
 void setCollectionRangeAsFirst(CollectionRange collectionRangeAsFirst)
           
 void setCollectionRangeAsSecond(CollectionRange collectionRangeAsSecond)
           
 void setComment(String comment)
           
 void setIfExpAsCondition(IfExp ifExpAsCondition)
           
 void setIfExpAsElse(IfExp ifExpAsElse)
           
 void setIfExpAsThen(IfExp ifExpAsThen)
           
 void setInitializedVariable(VariableDeclaration initializedVariable)
           
 void setLetExp(LetExp letExp)
           
 void setLoopExp(LoopExp loopExp)
           
 void setName(String name)
           
 void setOperation(Operation operation)
           
 void setParentCall(OperationCallExp parentCall)
           
 void setParentNav(NavigationCallExp parentNav)
           
 void setPropertyAsDefaultValue(Property propertyAsDefaultValue)
           
 void setReferredOperation(Operation newValue)
           
 void setSelfType(Type selfType)
           
 void setSource(OclExpression source)
           
 void setType(Type type)
           
 String toString()
           
 
Methods inherited from class uk.ac.ucl.cs.emofocl.jmi.reflect.extended.ExtObjectImpl
componentEquals, extAddObjectListener, extDeepCopy, extRemoveObjectListener, extSetImmediateComposite, firePropertyValueAdded, firePropertyValueChanged, firePropertyValueRemoved, javaEquals, javaEquals, javaEquals, javaEquals, javaEquals, javaEquals, refImmediateComposite
 
Methods inherited from class uk.ac.ucl.cs.emofocl.jmi.reflect.RefObjectImpl
refClass, refIsInstanceOf, refMofId, refOutermostComposite
 
Methods inherited from class uk.ac.ucl.cs.emofocl.jmi.reflect.RefFeaturedImpl
refGetValue, refInvokeOperation, refSetValue
 
Methods inherited from class uk.ac.ucl.cs.emofocl.jmi.reflect.RefBaseObjectImpl
refImmediatePackage, refMetaObject, refOutermostPackage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface uk.ac.ucl.cs.emofocl.jmi.reflect.extended.ExtObject
extAddObjectListener, extDeepCopy, extRemoveObjectListener
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage
 

Constructor Detail

OperationCallExp_Impl

public OperationCallExp_Impl(RefPackageImpl immediatePackage,
                             javax.jmi.reflect.RefObject metaObject,
                             RefClassImpl proxy,
                             javax.jmi.reflect.RefObject delegator)
Method Detail

refGetValue

public Object refGetValue(String featureName)
Specified by:
refGetValue in interface javax.jmi.reflect.RefFeatured

refSetValue

public void refSetValue(String featureName,
                        Object value)
Specified by:
refSetValue in interface javax.jmi.reflect.RefFeatured

refInvokeOperation

public Object refInvokeOperation(String requestedOperation,
                                 List args)
                          throws javax.jmi.reflect.RefException
Not implemented.

Specified by:
refInvokeOperation in interface javax.jmi.reflect.RefFeatured
Throws:
javax.jmi.reflect.RefException

refDelete

public void refDelete()
Removes all references to this object, and calls superclass proxies to do the same.

Specified by:
refDelete in interface javax.jmi.reflect.RefObject
Overrides:
refDelete in class RefObjectImpl

refVerifyConstraints

public Collection refVerifyConstraints(boolean deepVerify)
Specified by:
refVerifyConstraints in interface javax.jmi.reflect.RefBaseObject

getName

public String getName()
               throws javax.jmi.reflect.JmiException
Specified by:
getName in interface NamedElement
Throws:
javax.jmi.reflect.JmiException

setName

public void setName(String name)
             throws javax.jmi.reflect.JmiException
Specified by:
setName in interface NamedElement
Throws:
javax.jmi.reflect.JmiException

getParentNav

public NavigationCallExp getParentNav()
                               throws javax.jmi.reflect.JmiException
Specified by:
getParentNav in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

setParentNav

public void setParentNav(NavigationCallExp parentNav)
                  throws javax.jmi.reflect.JmiException
Specified by:
setParentNav in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

getIfExpAsThen

public IfExp getIfExpAsThen()
                     throws javax.jmi.reflect.JmiException
Specified by:
getIfExpAsThen in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

setIfExpAsThen

public void setIfExpAsThen(IfExp ifExpAsThen)
                    throws javax.jmi.reflect.JmiException
Specified by:
setIfExpAsThen in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

getComment

public String getComment()
                  throws javax.jmi.reflect.JmiException
Specified by:
getComment in interface Element
Throws:
javax.jmi.reflect.JmiException

setComment

public void setComment(String comment)
                throws javax.jmi.reflect.JmiException
Specified by:
setComment in interface Element
Throws:
javax.jmi.reflect.JmiException

getSource

public OclExpression getSource()
                        throws javax.jmi.reflect.JmiException
Specified by:
getSource in interface CallExp
Throws:
javax.jmi.reflect.JmiException

setSource

public void setSource(OclExpression source)
               throws javax.jmi.reflect.JmiException
Specified by:
setSource in interface CallExp
Throws:
javax.jmi.reflect.JmiException

getMOFClass

public MOFClass getMOFClass()
                     throws javax.jmi.reflect.JmiException
Specified by:
getMOFClass in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

setClass

public void setClass(MOFClass jMIClass)
              throws javax.jmi.reflect.JmiException
Specified by:
setClass in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

getCollectionRangeAsFirst

public CollectionRange getCollectionRangeAsFirst()
                                          throws javax.jmi.reflect.JmiException
Specified by:
getCollectionRangeAsFirst in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

setCollectionRangeAsFirst

public void setCollectionRangeAsFirst(CollectionRange collectionRangeAsFirst)
                               throws javax.jmi.reflect.JmiException
Specified by:
setCollectionRangeAsFirst in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

getType

public Type getType()
             throws javax.jmi.reflect.JmiException
Specified by:
getType in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

setType

public void setType(Type type)
             throws javax.jmi.reflect.JmiException
Specified by:
setType in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

getSelfType

public Type getSelfType()
                 throws javax.jmi.reflect.JmiException
Specified by:
getSelfType in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

setSelfType

public void setSelfType(Type selfType)
                 throws javax.jmi.reflect.JmiException
Specified by:
setSelfType in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

getIfExpAsElse

public IfExp getIfExpAsElse()
                     throws javax.jmi.reflect.JmiException
Specified by:
getIfExpAsElse in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

setIfExpAsElse

public void setIfExpAsElse(IfExp ifExpAsElse)
                    throws javax.jmi.reflect.JmiException
Specified by:
setIfExpAsElse in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

getCollectionItem

public CollectionItem getCollectionItem()
                                 throws javax.jmi.reflect.JmiException
Specified by:
getCollectionItem in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

setCollectionItem

public void setCollectionItem(CollectionItem collectionItem)
                       throws javax.jmi.reflect.JmiException
Specified by:
setCollectionItem in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

getLoopExp

public LoopExp getLoopExp()
                   throws javax.jmi.reflect.JmiException
Specified by:
getLoopExp in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

setLoopExp

public void setLoopExp(LoopExp loopExp)
                throws javax.jmi.reflect.JmiException
Specified by:
setLoopExp in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

getAppliedElement

public CallExp getAppliedElement()
                          throws javax.jmi.reflect.JmiException
Specified by:
getAppliedElement in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

setAppliedElement

public void setAppliedElement(CallExp appliedElement)
                       throws javax.jmi.reflect.JmiException
Specified by:
setAppliedElement in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

getInitializedVariable

public VariableDeclaration getInitializedVariable()
                                           throws javax.jmi.reflect.JmiException
Specified by:
getInitializedVariable in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

setInitializedVariable

public void setInitializedVariable(VariableDeclaration initializedVariable)
                            throws javax.jmi.reflect.JmiException
Specified by:
setInitializedVariable in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

getLetExp

public LetExp getLetExp()
                 throws javax.jmi.reflect.JmiException
Specified by:
getLetExp in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

setLetExp

public void setLetExp(LetExp letExp)
               throws javax.jmi.reflect.JmiException
Specified by:
setLetExp in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

getOperation

public Operation getOperation()
                       throws javax.jmi.reflect.JmiException
Specified by:
getOperation in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

setOperation

public void setOperation(Operation operation)
                  throws javax.jmi.reflect.JmiException
Specified by:
setOperation in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

getCollectionRangeAsSecond

public CollectionRange getCollectionRangeAsSecond()
                                           throws javax.jmi.reflect.JmiException
Specified by:
getCollectionRangeAsSecond in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

setCollectionRangeAsSecond

public void setCollectionRangeAsSecond(CollectionRange collectionRangeAsSecond)
                                throws javax.jmi.reflect.JmiException
Specified by:
setCollectionRangeAsSecond in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

getPropertyAsDefaultValue

public Property getPropertyAsDefaultValue()
                                   throws javax.jmi.reflect.JmiException
Specified by:
getPropertyAsDefaultValue in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

setPropertyAsDefaultValue

public void setPropertyAsDefaultValue(Property propertyAsDefaultValue)
                               throws javax.jmi.reflect.JmiException
Specified by:
setPropertyAsDefaultValue in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

getIfExpAsCondition

public IfExp getIfExpAsCondition()
                          throws javax.jmi.reflect.JmiException
Specified by:
getIfExpAsCondition in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

setIfExpAsCondition

public void setIfExpAsCondition(IfExp ifExpAsCondition)
                         throws javax.jmi.reflect.JmiException
Specified by:
setIfExpAsCondition in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

getParentCall

public OperationCallExp getParentCall()
                               throws javax.jmi.reflect.JmiException
Specified by:
getParentCall in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

setParentCall

public void setParentCall(OperationCallExp parentCall)
                   throws javax.jmi.reflect.JmiException
Specified by:
setParentCall in interface OclExpression
Throws:
javax.jmi.reflect.JmiException

getReferredOperation

public Operation getReferredOperation()
                               throws javax.jmi.reflect.JmiException
Specified by:
getReferredOperation in interface OperationCallExp
Throws:
javax.jmi.reflect.JmiException

setReferredOperation

public void setReferredOperation(Operation newValue)
                          throws javax.jmi.reflect.JmiException
Specified by:
setReferredOperation in interface OperationCallExp
Throws:
javax.jmi.reflect.JmiException

getArgument

public Collection getArgument()
                       throws javax.jmi.reflect.JmiException
Specified by:
getArgument in interface OperationCallExp
Throws:
javax.jmi.reflect.JmiException

extDeepCopy

public ExtObject extDeepCopy(Map objectMap)
Specified by:
extDeepCopy in interface ExtObject

extValueHash

public int extValueHash()
Specified by:
extValueHash in interface ExtObject

extEquals

public boolean extEquals(ExtObject extObject)
Specified by:
extEquals in interface ExtObject

extVisit

public Object extVisit(ExtVisitor visitor,
                       Object argument)
                throws Exception
Specified by:
extVisit in interface ExtObject
Throws:
Exception

toString

public String toString()
Overrides:
toString in class Object