org.eclipse.uml2
Interface ReclassifyObjectAction

All Superinterfaces:
Action, ActivityNode, Element, EModelElement, EObject, ExecutableNode, NamedElement, Notifier, RedefinableElement, TemplateableElement

public interface ReclassifyObjectAction
extends Action

A representation of the model object 'Reclassify Object Action'. ReclassifyObjectAction adds given classifier to an object and removes given classifiers from that object. Multiple classifiers may be added and removed at a time.

The following features are supported:

See Also:
UML2Package.getReclassifyObjectAction()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 InputPin createObject(EClass eClass)
          Creates a InputPin and sets the 'Object' containment reference
 EList getInputs()
           
 Classifier getNewClassifier(String unqualifiedName)
          Retrieves the Classifier with the specified name from the 'New Classifier' reference list
 EList getNewClassifiers()
          Returns the value of the 'New Classifier' reference list.
 InputPin getObject()
          Returns the value of the 'Object' containment reference
 Classifier getOldClassifier(String unqualifiedName)
          Retrieves the Classifier with the specified name from the 'Old Classifier' reference list
 EList getOldClassifiers()
          Returns the value of the 'Old Classifier' reference list.
 boolean isReplaceAll()
          Returns the value of the 'Is Replace All' attribute.
 void setIsReplaceAll(boolean value)
          Sets the value of the 'Is Replace All' attribute
 void setObject(InputPin value)
          Sets the value of the 'Object' containment reference
 
Methods inherited from interface org.eclipse.uml2.Action
createLocalPostcondition, createLocalPrecondition, getContext, getEffect, getInput, getLocalPostcondition, getLocalPostconditions, getLocalPrecondition, getLocalPreconditions, getOutput, getOutputs, getOwnedElements, setEffect
 
Methods inherited from interface org.eclipse.uml2.ExecutableNode
createHandler, getHandlers
 
Methods inherited from interface org.eclipse.uml2.ActivityNode
getActivity, getIncoming, getIncomings, getInGroups, getInInterruptibleRegions, getInPartition, getInPartitions, getInStructuredNode, getOutgoing, getOutgoings, getOwner, getRedefinedElement, getRedefinedElements, setActivity, setInStructuredNode
 
Methods inherited from interface org.eclipse.uml2.RedefinableElement
getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
 
Methods inherited from interface org.eclipse.uml2.NamedElement
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership
 
Methods inherited from interface org.eclipse.uml2.TemplateableElement
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature
 
Methods inherited from interface org.eclipse.uml2.Element
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

isReplaceAll

public boolean isReplaceAll()
Returns the value of the 'Is Replace All' attribute. The default value is "false".

If the meaning of the 'Is Replace All' attribute isn't clear, there really should be more of a description here...

Specifies whether existing classifiers should be removed before adding the new classifiers. The default value is false.

Returns:
the value of the 'Is Replace All' attribute.
See Also:
setIsReplaceAll(boolean), UML2Package.getReclassifyObjectAction_IsReplaceAll()

setIsReplaceAll

public void setIsReplaceAll(boolean value)
Sets the value of the 'Is Replace All' attribute.

Parameters:
value - the new value of the 'Is Replace All' attribute.
See Also:
isReplaceAll()

getOldClassifiers

public EList getOldClassifiers()
Returns the value of the 'Old Classifier' reference list. The list contents are of type Classifier.

If the meaning of the 'Old Classifier' reference list isn't clear, there really should be more of a description here...

A set of classifiers to be removed from the classifiers of the object.

Returns:
the value of the 'Old Classifier' reference list.
See Also:
UML2Package.getReclassifyObjectAction_OldClassifier()

getOldClassifier

public Classifier getOldClassifier(String unqualifiedName)
Retrieves the Classifier with the specified name from the 'Old Classifier' reference list.

Parameters:
unqualifiedName - The unqualified name of the Classifier to retrieve.
Returns:
The Classifier with the specified name, or null.
See Also:
getOldClassifiers()

getNewClassifiers

public EList getNewClassifiers()
Returns the value of the 'New Classifier' reference list. The list contents are of type Classifier.

If the meaning of the 'New Classifier' reference list isn't clear, there really should be more of a description here...

A set of classifiers to be added to the classifiers of the object.

Returns:
the value of the 'New Classifier' reference list.
See Also:
UML2Package.getReclassifyObjectAction_NewClassifier()

getNewClassifier

public Classifier getNewClassifier(String unqualifiedName)
Retrieves the Classifier with the specified name from the 'New Classifier' reference list.

Parameters:
unqualifiedName - The unqualified name of the Classifier to retrieve.
Returns:
The Classifier with the specified name, or null.
See Also:
getNewClassifiers()

getObject

public InputPin getObject()
Returns the value of the 'Object' containment reference.

If the meaning of the 'Object' containment reference isn't clear, there really should be more of a description here...

Holds the object to be reclassified. (Specializes Action.input.)

Returns:
the value of the 'Object' containment reference.
See Also:
setObject(InputPin), UML2Package.getReclassifyObjectAction_Object()

setObject

public void setObject(InputPin value)
Sets the value of the 'Object' containment reference.

Parameters:
value - the new value of the 'Object' containment reference.
See Also:
getObject()

createObject

public InputPin createObject(EClass eClass)
Creates a InputPin and sets the 'Object' containment reference.

Parameters:
eClass - The Ecore class of the InputPin to create.
Returns:
The new InputPin.
See Also:
getObject()

getInputs

public EList getInputs()

Specified by:
getInputs in interface Action
Returns:
the value of the 'Input' reference list.
See Also:
UML2Package.getAction_Input()

Copyright 2003, 2004 IBM Corporation and others.
All Rights Reserved.