public interface ReclassifyObjectAction extends Action
The following features are supported:
UMLPackage.getReclassifyObjectAction()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
InputPin |
createObject(String name,
Type type)
Creates a new
InputPin ,with the specified 'Name', and 'Type', and sets
the 'Object' containment reference |
InputPin |
createObject(String name,
Type type,
EClass eClass)
Creates a new
InputPin , with the specified 'Name', and 'Type', and sets
the 'Object' containment reference |
Classifier |
getNewClassifier(String name)
Retrieves the first
Classifier with the specified 'Name' from the '
New Classifier' reference list |
Classifier |
getNewClassifier(String name,
boolean ignoreCase,
EClass eClass)
Retrieves the first
Classifier with the specified 'Name' from the '
New Classifier' reference list |
MDWEList<Classifier> |
getNewClassifiers()
Returns the value of the 'New Classifier' reference list.
|
InputPin |
getObject()
Returns the value of the 'Object' containment reference
|
Classifier |
getOldClassifier(String name)
Retrieves the first
Classifier with the specified 'Name' from the '
Old Classifier' reference list |
Classifier |
getOldClassifier(String name,
boolean ignoreCase,
EClass eClass)
Retrieves the first
Classifier with the specified 'Name' from the '
Old Classifier' reference list |
MDWEList<Classifier> |
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 |
boolean |
validateClassifierNotAbstract(DiagnosticChain diagnostics,
Map context)
None of the new classifiers may be abstract.
|
boolean |
validateInputPin(DiagnosticChain diagnostics,
Map context)
The input pin has no type.
|
boolean |
validateMultiplicity(DiagnosticChain diagnostics,
Map context)
The multiplicity of the input pin is 1..1.
|
createLocalPostcondition, createLocalPostcondition, createLocalPrecondition, createLocalPrecondition, getContext, getInput, getInput, getInputs, getLocalPostcondition, getLocalPostcondition, getLocalPostconditions, getLocalPrecondition, getLocalPrecondition, getLocalPreconditions, getOutput, getOutput, getOutputs
createHandler, getHandlers
getActivity, getIncoming, getIncoming, getIncomings, getInGroups, getInInterruptibleRegions, getInPartition, getInPartition, getInPartitions, getInStructuredNode, getOutgoing, getOutgoing, getOutgoings, getRedefinedNode, getRedefinedNode, getRedefinedNodes, setActivity, setInStructuredNode, validateOwned, validateOwnedStructuredNode
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
allNamespaces, allOwningPackages, createDependency, createNameExpression, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
boolean isReplaceAll()
"false"
.
Specifies whether existing classifiers should be removed before adding the new classifiers.
setIsReplaceAll(boolean)
,
UMLPackage.getReclassifyObjectAction_IsReplaceAll()
void setIsReplaceAll(boolean value)
Is Replace All
' attribute.
value
- the new value of the 'Is Replace All' attribute.isReplaceAll()
MDWEList<Classifier> getOldClassifiers()
Classifier
.
A set of classifiers to be removed from the classifiers of the object.
UMLPackage.getReclassifyObjectAction_OldClassifier()
Classifier getOldClassifier(String name)
Classifier
with the specified 'Name' from the '
Old Classifier' reference list.
name
- The 'Name' of the Classifier
to retrieve, or null
.Classifier
with the specified 'Name', or null
.getOldClassifiers()
Classifier getOldClassifier(String name, boolean ignoreCase, EClass eClass)
Classifier
with the specified 'Name' from the '
Old Classifier' reference list.
name
- The 'Name' of the Classifier
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Classifier
to retrieve, or null
.Classifier
with the specified 'Name', or null
.getOldClassifiers()
MDWEList<Classifier> getNewClassifiers()
Classifier
.
A set of classifiers to be added to the classifiers of the object.
UMLPackage.getReclassifyObjectAction_NewClassifier()
Classifier getNewClassifier(String name)
Classifier
with the specified 'Name' from the '
New Classifier' reference list.
name
- The 'Name' of the Classifier
to retrieve, or null
.Classifier
with the specified 'Name', or null
.getNewClassifiers()
Classifier getNewClassifier(String name, boolean ignoreCase, EClass eClass)
Classifier
with the specified 'Name' from the '
New Classifier' reference list.
name
- The 'Name' of the Classifier
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Classifier
to retrieve, or null
.Classifier
with the specified 'Name', or null
.getNewClassifiers()
InputPin getObject()
setObject(InputPin)
,
UMLPackage.getReclassifyObjectAction_Object()
void setObject(InputPin value)
Object
' containment reference.
value
- the new value of the 'Object' containment reference.getObject()
InputPin createObject(String name, Type type, EClass eClass)
InputPin
, with the specified 'Name', and 'Type', and sets
the 'Object' containment reference.
name
- The 'Name' for the new InputPin
, or null
.type
- The 'Type' for the new InputPin
, or null
.eClass
- The Ecore class of the InputPin
to create.InputPin
.getObject()
InputPin createObject(String name, Type type)
InputPin
,with the specified 'Name', and 'Type', and sets
the 'Object' containment reference.
name
- The 'Name' for the new InputPin
, or null
.type
- The 'Type' for the new InputPin
, or null
.InputPin
.getObject()
boolean validateClassifierNotAbstract(DiagnosticChain diagnostics, Map context)
boolean validateMultiplicity(DiagnosticChain diagnostics, Map context)
boolean validateInputPin(DiagnosticChain diagnostics, Map context)