uk.ac.ucl.cs.uml.jmi.BehavioralElements.Actions.ReadWriteActions
Interface ReclassifyObjectAction
- All Superinterfaces:
- Action, Element, ExtObject, ModelElement, PrimitiveAction, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject
- All Known Implementing Classes:
- ReclassifyObjectAction_Impl
public interface ReclassifyObjectAction
- extends PrimitiveAction
This action changes classifiers for an object. The object input
to the action is classified by its existing classifiers plus the
new classifiers and minus the old classifiers statically
specified by the action. It also supports the removal of
existing classifiers of the object before the new classifiers
are added. The action has no other effect. In particular, the
identity of the object is preserved, no constructors or
destructors are executed and no initial expressions are
evaluated. New classifiers replace existing classifiers in one
action, so that attribute values and links are not lost by
intermediate stages of classification when the old and new
classifiers have attributes and associations in common.
Adding a classifier that duplicates one already existing, or
removing a classifier that is not there, has no effect. Adding
and removing the same classifiers has no effect. States are
preserved for state machines that are in common before and after
the action. New state machines are not started. Removed state
machines behave as if the object were deleted.
The semantics is undefined if any of the new classifiers are
abstract. The semantics is undefined if all classifiers are
removed from a runtime object.
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.BehavioralElements.Actions.ActionFoundation.Action |
getAntecedent, getAvailableInput, getAvailableOutput, getConsequent, getGroup, getInputPin, getIsReadOnly, getJumpHandler, getOutputPin, setGroup, setIsReadOnly |
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.Foundation.Core.ModelElement |
getAsArgument, getBehavior, getClientDependency, getComment, getConstraint, getContainer, getDefaultElement, getIsSpecification, getName, getNamespace, getPackage, getPresentation, getReferenceTag, getSourceFlow, getStereotype, getSupplierDependency, getTaggedValue, getTargetFlow, getTemplate, getTemplateArgument, getTemplateParameter, getVisibility, setDefaultElement, setIsSpecification, setName, setNamespace, setTemplate, setVisibility |
Methods inherited from interface javax.jmi.reflect.RefObject |
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite |
Methods inherited from interface javax.jmi.reflect.RefFeatured |
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue |
Methods inherited from interface javax.jmi.reflect.RefBaseObject |
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints |
getIsReplaceAll
boolean getIsReplaceAll()
throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
setIsReplaceAll
void setIsReplaceAll(boolean isReplaceAll)
throws javax.jmi.reflect.JmiException
- Setter for atomic property isReplaceAll)
- Throws:
javax.jmi.reflect.JmiException
getNewClassifier
Collection getNewClassifier()
throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
getOldClassifiers
Collection getOldClassifiers()
throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
getInput
InputPin getInput()
throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
setInput
void setInput(InputPin input)
throws javax.jmi.reflect.JmiException
- Setter for atomic property input)
- Throws:
javax.jmi.reflect.JmiException