public interface StructuralFeatureAction extends Action
The following features are supported:
UMLPackage.getStructuralFeatureAction()
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 |
InputPin |
getObject()
Returns the value of the 'Object' containment reference
|
StructuralFeature |
getStructuralFeature()
Returns the value of the 'Structural Feature' reference
|
void |
setObject(InputPin value)
Sets the value of the '
Object ' containment reference |
void |
setStructuralFeature(StructuralFeature value)
Sets the value of the '
Structural Feature '
reference |
boolean |
validateMultiplicity(DiagnosticChain diagnostics,
Map context)
The multiplicity of the input pin must be 1..1.
|
boolean |
validateNotStatic(DiagnosticChain diagnostics,
Map context)
The structural feature must not be static.
|
boolean |
validateOneFeaturingClassifier(DiagnosticChain diagnostics,
Map context)
A structural feature has exactly one featuringClassifier.
|
boolean |
validateSameType(DiagnosticChain diagnostics,
Map context)
The type of the object input pin is the same as the classifier of the object passed on this pin.
|
boolean |
validateVisibility(DiagnosticChain diagnostics,
Map context)
Visibility of structural feature must allow access to the object performing the action.
|
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
StructuralFeature getStructuralFeature()
setStructuralFeature(StructuralFeature)
,
UMLPackage.getStructuralFeatureAction_StructuralFeature()
void setStructuralFeature(StructuralFeature value)
Structural Feature
'
reference.
value
- the new value of the 'Structural Feature' reference.getStructuralFeature()
InputPin getObject()
setObject(InputPin)
,
UMLPackage.getStructuralFeatureAction_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 validateNotStatic(DiagnosticChain diagnostics, Map context)
boolean validateSameType(DiagnosticChain diagnostics, Map context)
boolean validateMultiplicity(DiagnosticChain diagnostics, Map context)
boolean validateVisibility(DiagnosticChain diagnostics, Map context)
boolean validateOneFeaturingClassifier(DiagnosticChain diagnostics, Map context)