uk.ac.ucl.cs.uml.jmi.impl.BehavioralElements.Actions.ActionFoundation
Class PrimitiveAction_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.uml.jmi.impl.BehavioralElements.Actions.ActionFoundation.PrimitiveAction_Impl
All Implemented Interfaces:
javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, ExtObject, Action, PrimitiveAction, Element, ModelElement

public class PrimitiveAction_Impl
extends ExtObjectImpl
implements PrimitiveAction

Instance implementation for type PrimitiveAction


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
PrimitiveAction_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)
           
 Collection getAntecedent()
           
 Collection getAsArgument()
          Indicates zero or more TemplateArgument for which the model element is an argument in a template binding.
 Collection getAvailableInput()
           
 Collection getAvailableOutput()
           
 Collection getBehavior()
          Not documented in spec! from ::"Behavioral Elements"::"State Machines"::StateMachine, pg.
 Collection getClientDependency()
          Inverse of client.
 Collection getComment()
          Not documented in spec!
 Collection getConsequent()
           
 Collection getConstraint()
          A set of Constraints affecting the element.
 Collection getContainer()
          The component that an implemented model element resides in.
 ModelElement getDefaultElement()
          Not part of specification! Merged from TemplateParameter association class.
 GroupAction getGroup()
           
 List getInputPin()
           
 boolean getIsReadOnly()
           
 boolean getIsSpecification()
          Not part of specification! Merged from ElementOwnership association class.
 Collection getJumpHandler()
           
 String getName()
          An identifier for the ModelElement within its containing Namespace.
 Namespace getNamespace()
          Designates the Namespace that contains the ModelElement.
 List getOutputPin()
           
 Collection getPackage()
          Not documented in spec!
 Collection getPresentation()
          A set of PresentationElements that present a view of the ModelElement.
 Collection getReferenceTag()
          Not documented in spec!
 Collection getSourceFlow()
          Not documented in spec!
 Collection getStereotype()
          Designates the stereotypes that further qualify the UML metaclass (the base class or one of its subclasses) of the modeling element.
 Collection getSupplierDependency()
          Inverse of supplier.
 Collection getTaggedValue()
          An arbitrary property attached to the model element based on an associated tag definition.
 Collection getTargetFlow()
          Not documented in spec!
 ModelElement getTemplate()
          Not documented in spec!
 Collection getTemplateArgument()
          Not documented in spec! From diagram p.
 List getTemplateParameter()
          (association class TemplateParameter) A composite aggregation ordered list of parameters.
 VisibilityKind getVisibility()
          Not part of specification! Merged from ElementOwnership association class.
 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 setDefaultElement(ModelElement defaultElement)
          Setter for atomic property defaultElement)
 void setGroup(GroupAction group)
          Setter for atomic property group)
 void setIsReadOnly(boolean isReadOnly)
          Setter for atomic property isReadOnly)
 void setIsSpecification(boolean isSpecification)
          Setter for atomic property isSpecification)
 void setName(String name)
          Setter for atomic property name)
 void setNamespace(Namespace namespace)
          Setter for atomic property namespace)
 void setTemplate(ModelElement template)
          Setter for atomic property template)
 void setVisibility(VisibilityKind visibility)
          Setter for atomic property visibility)
 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

PrimitiveAction_Impl

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

getConstraint

public Collection getConstraint()
                         throws javax.jmi.reflect.JmiException
A set of Constraints affecting the element. A constraint that must be satisfied by the model element. A model element may have a set of constraints. The constraint is to be evaluated when the system is stable; that is, not in the middle of an atomic operation.

Specified by:
getConstraint in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

getIsSpecification

public boolean getIsSpecification()
                           throws javax.jmi.reflect.JmiException
Not part of specification! Merged from ElementOwnership association class.

Specified by:
getIsSpecification in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

setIsSpecification

public void setIsSpecification(boolean isSpecification)
                        throws javax.jmi.reflect.JmiException
Description copied from interface: ModelElement
Setter for atomic property isSpecification)

Specified by:
setIsSpecification in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

getComment

public Collection getComment()
                      throws javax.jmi.reflect.JmiException
Not documented in spec!

Specified by:
getComment in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

getTemplateArgument

public Collection getTemplateArgument()
                               throws javax.jmi.reflect.JmiException
Not documented in spec! From diagram p. 2-17.

Specified by:
getTemplateArgument in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

getDefaultElement

public ModelElement getDefaultElement()
                               throws javax.jmi.reflect.JmiException
Not part of specification! Merged from TemplateParameter association class.

Specified by:
getDefaultElement in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

setDefaultElement

public void setDefaultElement(ModelElement defaultElement)
                       throws javax.jmi.reflect.JmiException
Description copied from interface: ModelElement
Setter for atomic property defaultElement)

Specified by:
setDefaultElement in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

getPresentation

public Collection getPresentation()
                           throws javax.jmi.reflect.JmiException
A set of PresentationElements that present a view of the ModelElement.

Specified by:
getPresentation in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

getOutputPin

public List getOutputPin()
                  throws javax.jmi.reflect.JmiException
Specified by:
getOutputPin in interface Action
Throws:
javax.jmi.reflect.JmiException

getContainer

public Collection getContainer()
                        throws javax.jmi.reflect.JmiException
The component that an implemented model element resides in. Called implementationLocation in spec! Name taken from diagram on p. 2-16.

Specified by:
getContainer in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

getReferenceTag

public Collection getReferenceTag()
                           throws javax.jmi.reflect.JmiException
Not documented in spec!

Specified by:
getReferenceTag in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

getStereotype

public Collection getStereotype()
                         throws javax.jmi.reflect.JmiException
Designates the stereotypes that further qualify the UML metaclass (the base class or one of its subclasses) of the modeling element. The stereotype does not conflict with or contradict the standard semantics of the metaclass to which it applies, but may specify additional constraints and tag definitions. All constraints and tag definitions on a stereotype apply to the model elements that are branded by the stereotype. The stereotype acts as a virtual metaclass describing the model element.

Specified by:
getStereotype in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

getJumpHandler

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

getGroup

public GroupAction getGroup()
                     throws javax.jmi.reflect.JmiException
Specified by:
getGroup in interface Action
Throws:
javax.jmi.reflect.JmiException

setGroup

public void setGroup(GroupAction group)
              throws javax.jmi.reflect.JmiException
Description copied from interface: Action
Setter for atomic property group)

Specified by:
setGroup in interface Action
Throws:
javax.jmi.reflect.JmiException

getIsReadOnly

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

setIsReadOnly

public void setIsReadOnly(boolean isReadOnly)
                   throws javax.jmi.reflect.JmiException
Description copied from interface: Action
Setter for atomic property isReadOnly)

Specified by:
setIsReadOnly in interface Action
Throws:
javax.jmi.reflect.JmiException

getTargetFlow

public Collection getTargetFlow()
                         throws javax.jmi.reflect.JmiException
Not documented in spec!

Specified by:
getTargetFlow in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

getConsequent

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

getName

public String getName()
               throws javax.jmi.reflect.JmiException
An identifier for the ModelElement within its containing Namespace.

Specified by:
getName in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

setName

public void setName(String name)
             throws javax.jmi.reflect.JmiException
Description copied from interface: ModelElement
Setter for atomic property name)

Specified by:
setName in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

getAvailableInput

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

getAsArgument

public Collection getAsArgument()
                         throws javax.jmi.reflect.JmiException
Indicates zero or more TemplateArgument for which the model element is an argument in a template binding. This AssociationEnd is not named in class diagram on p.2-17!

Specified by:
getAsArgument in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

getAntecedent

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

getTemplateParameter

public List getTemplateParameter()
                          throws javax.jmi.reflect.JmiException
(association class TemplateParameter) A composite aggregation ordered list of parameters. Each parameter is a dummy ModelElement designated as a placeholder for a real ModelElement to be substituted during a binding of the template (see Binding). The real model element must be of the same kind (or a descendant kind) as the dummy ModelElement. The properties of the dummy ModelElement are ignored, except the name of the dummy element is used as the name of the template parameter. The association class TemplateParameter may be associated with a default ModelElement of the same kind as the dummy ModelElement. In the case of a Binding that does not supply an argument corresponding to the parameter, the value of the default ModelElement is used. If a Binding lacks an argument and there is no default ModelElement, the construct is invalid. Note that the template parameter element lacks structure. For example, a parameter that is a Class lacks Features; they are found in the actual argument.

Specified by:
getTemplateParameter in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

getPackage

public Collection getPackage()
                      throws javax.jmi.reflect.JmiException
Not documented in spec!

Specified by:
getPackage in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

getSupplierDependency

public Collection getSupplierDependency()
                                 throws javax.jmi.reflect.JmiException
Inverse of supplier. Designates a set of Dependency in which the ModelElement is a supplier.

Specified by:
getSupplierDependency in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

getTaggedValue

public Collection getTaggedValue()
                          throws javax.jmi.reflect.JmiException
An arbitrary property attached to the model element based on an associated tag definition. The interpretation of the tagged value is outside the scope of the UML metamodel.

Specified by:
getTaggedValue in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

getTemplate

public ModelElement getTemplate()
                         throws javax.jmi.reflect.JmiException
Not documented in spec!

Specified by:
getTemplate in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

setTemplate

public void setTemplate(ModelElement template)
                 throws javax.jmi.reflect.JmiException
Description copied from interface: ModelElement
Setter for atomic property template)

Specified by:
setTemplate in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

getSourceFlow

public Collection getSourceFlow()
                         throws javax.jmi.reflect.JmiException
Not documented in spec!

Specified by:
getSourceFlow in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

getAvailableOutput

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

getInputPin

public List getInputPin()
                 throws javax.jmi.reflect.JmiException
Specified by:
getInputPin in interface Action
Throws:
javax.jmi.reflect.JmiException

getVisibility

public VisibilityKind getVisibility()
                             throws javax.jmi.reflect.JmiException
Not part of specification! Merged from ElementOwnership association class.

Specified by:
getVisibility in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

setVisibility

public void setVisibility(VisibilityKind visibility)
                   throws javax.jmi.reflect.JmiException
Description copied from interface: ModelElement
Setter for atomic property visibility)

Specified by:
setVisibility in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

getBehavior

public Collection getBehavior()
                       throws javax.jmi.reflect.JmiException
Not documented in spec! from ::"Behavioral Elements"::"State Machines"::StateMachine, pg. 2-141

Specified by:
getBehavior in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

getClientDependency

public Collection getClientDependency()
                               throws javax.jmi.reflect.JmiException
Inverse of client. Designates a set of Dependency in which the ModelElement is a client.

Specified by:
getClientDependency in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

getNamespace

public Namespace getNamespace()
                       throws javax.jmi.reflect.JmiException
Designates the Namespace that contains the ModelElement. Every ModelElement except a root element must belong to exactly one Namespace or else be a composite part of another ModelElement (which is a kind of virtual namespace). The pathname of Namespace or ModelElement names starting from the root package provides a unique designation for every ModelElement. The association attribute visibility specifies the visibility of the element outside its namespace (see ElementOwnership).

Specified by:
getNamespace in interface ModelElement
Throws:
javax.jmi.reflect.JmiException

setNamespace

public void setNamespace(Namespace namespace)
                  throws javax.jmi.reflect.JmiException
Description copied from interface: ModelElement
Setter for atomic property namespace)

Specified by:
setNamespace in interface ModelElement
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