uk.ac.ucl.cs.emofocl.jmi.impl.emof
Class Operation_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.emof.Operation_Impl
All Implemented Interfaces:
javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, Element, MOFObject, MultiplicityElement, NamedElement, Operation, TypedElement, ExtObject

public class Operation_Impl
extends ExtObjectImpl
implements Operation


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
Operation_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)
           
 String getComment()
           
 boolean getIsOrdered()
           
 boolean getIsUnique()
           
 int getLower()
           
 String getName()
           
 Collection getOwnedParameter()
           
 MOFClass getOwningClass()
           
 Collection getRaisedException()
           
 OclExpression getResult()
           
 Type getType()
           
 int getUpper()
           
 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 setComment(String comment)
           
 void setIsOrdered(boolean isOrdered)
           
 void setIsUnique(boolean isUnique)
           
 void setLower(int lower)
           
 void setName(String name)
           
 void setOwningClass(MOFClass newValue)
           
 void setResult(OclExpression newValue)
           
 void setType(Type type)
           
 void setUpper(int upper)
           
 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

Operation_Impl

public Operation_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

getIsUnique

public boolean getIsUnique()
                    throws javax.jmi.reflect.JmiException
Specified by:
getIsUnique in interface MultiplicityElement
Throws:
javax.jmi.reflect.JmiException

setIsUnique

public void setIsUnique(boolean isUnique)
                 throws javax.jmi.reflect.JmiException
Specified by:
setIsUnique in interface MultiplicityElement
Throws:
javax.jmi.reflect.JmiException

getType

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

setType

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

getIsOrdered

public boolean getIsOrdered()
                     throws javax.jmi.reflect.JmiException
Specified by:
getIsOrdered in interface MultiplicityElement
Throws:
javax.jmi.reflect.JmiException

setIsOrdered

public void setIsOrdered(boolean isOrdered)
                  throws javax.jmi.reflect.JmiException
Specified by:
setIsOrdered in interface MultiplicityElement
Throws:
javax.jmi.reflect.JmiException

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

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

getLower

public int getLower()
             throws javax.jmi.reflect.JmiException
Specified by:
getLower in interface MultiplicityElement
Throws:
javax.jmi.reflect.JmiException

setLower

public void setLower(int lower)
              throws javax.jmi.reflect.JmiException
Specified by:
setLower in interface MultiplicityElement
Throws:
javax.jmi.reflect.JmiException

getUpper

public int getUpper()
             throws javax.jmi.reflect.JmiException
Specified by:
getUpper in interface MultiplicityElement
Throws:
javax.jmi.reflect.JmiException

setUpper

public void setUpper(int upper)
              throws javax.jmi.reflect.JmiException
Specified by:
setUpper in interface MultiplicityElement
Throws:
javax.jmi.reflect.JmiException

getOwnedParameter

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

getResult

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

setResult

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

getRaisedException

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

getOwningClass

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

setOwningClass

public void setOwningClass(MOFClass newValue)
                    throws javax.jmi.reflect.JmiException
Specified by:
setOwningClass in interface Operation
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