Package de.mid.innovator.srv2api.icw2ac
Interface ANPin
-
- All Superinterfaces:
ACActivityNode
,ACObjectNode
,ADClientAble
,ADFindAble
,ADHistoryAble
,ADM2AttrModifyAble
,ELContainerAble
,ELContAsgnAble
,ELDeleteAble
,ELElement
,ELMultiplicityAble
,ELNamedElement
,ELNamespaceAsgnAble
,ELObject
,ELRedefAble
,ELTypedElement
,ELUUIDAble
,ELValueContainerAble
,MECommentAble
,MEConstraintAble
,MEModelElement
,MENamedElement
,MENamespaceAsgnAble
,MEStereotypeAble
,MMAttachmentAble
,MMCommentContainerAble
,MMLabelAble
,MMLabelTextAttachmentAble
,MMStereotypeAble
,MMTextAble
- All Known Subinterfaces:
ANActionInputPin
,ANInputPin
,ANOutputPin
,ANValuePin
public interface ANPin extends ELMultiplicityAble, ACObjectNode
A pin is a typed element and multiplicity element that provides values to actions and accept result values from them.- Note:
- The interface ANPin describes an abstract ability of an object. Therefore no instances of this type can be found in the repository!
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ANPin.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends ANPin>
java.util.List<T>getCorrespondingPin(java.lang.Class<T> returnType, ANAction refObj, K_CONTASGN kind, int mode, K_CONTROL_OPTION... behaviourFlags)
Searches for anANPin
assigned toargument refObj
that corresponds to the source pin.<T extends ANPin>
java.util.List<T>getCorrespondingPin(java.lang.Class<T> returnType, MMStereotype stereotype, ANAction refObj, K_CONTASGN kind, int mode, K_CONTROL_OPTION... behaviourFlags)
The method calls getCorrespondingPin and filters its return values according to the given stereotype value.CLParameter
getParameter(java.lang.Class<? extends ELObject> kind, int mode)
Finds theCLParameter
that corresponds to theANPin
.java.util.List<ACParamNode>
getParamNode(K_CONTROL_OPTION... behaviourFlags)
Finds theACParamNode
corresponding to theANPin
.java.util.List<ACParamNode>
getParamNode(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getParamNode and filters its return values according to the given stereotype value.boolean
isControl()
Informs whether the pins provide the actions with data or just control it when it executes it.void
setControl(boolean value)
Set the value of Attribut IsControl.-
Methods inherited from interface de.mid.innovator.srv2api.icw2ac.ACActivityNode
getActivity, getIncoming, getInGroup, getInGroup, getInGroupExplicit, getInGroupImplicit, getNodeCoord, getOutgoing, isInInterruptibleRegion, replaceInGroupExplicit, setInGroupExplicit, setInGroupImplicit, setNodeCoord
-
Methods inherited from interface de.mid.innovator.srv2api.icw2ac.ACObjectNode
getHandler, getInState, getManualTypeAssign, getOrdering, getSelBehavior, getSelectionBehavior, getTypingClassifier, getUpperBound, getUpperBoundSpecification, isControlType, modifyBehaviorForSelection, setControlType, setInState, setOrdering, setSelectionBehavior, setUpperBoundSpecification
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADClientAble
getAnnotation, getEndAnalysisDia, getLogic, getLogic, getPresentationContext, getSection, getStartAnalysisDia
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADHistoryAble
getCreateTime, getCreator, getHistory, getModifier, getModifyTime, modifyHistory, setHistory
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRowList, getTabElementRowTypeList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModify
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContents
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwner
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELDeleteAble
delete
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELElement
duplicateElement, getAssignAbleToVattr, getAssignAbleToVattr, getClientId, getCreateTemplateOfInstance, getDisplayBitmap, getDisplayColor, getDisplayFont, getDisplayLine, getDisplayName, getDisplayNameShort, getDisplayNSName, getElementCache, getElementMappingInformation, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnit
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELMultiplicityAble
getLower, getLowerBoundAsString, getLowerUpperVal, getUpper, getUpperBoundAsString, hasMultiplicity11, hasUpper1, isMany, isMultivalued, isOptional, isOrdered, isUnique, setLower, setMany, setOptional, setOrdered, setUnique, setUpper
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKind
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibility
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasRead
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELRedefAble
getRedefined, getRedefining, isLeaf, isRedefined, isRedefining, setLeaf, setRedefined
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELTypedElement
getModifyTypedElementDeclaration, getType, getTypedElementCnstr, getTypeKind, getValSpecOfTypedElement, getValSpecOfTypedElementWithPattern, getValSpecOfTypedElementWithPattern, isBitmapAble, isColorAble, modifyTypedElementDeclaration, setType
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUID
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELValueContainerAble
getValueReUseAble, setValueReUseAble
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MECommentAble
getAssignedComment, getAssignedComment, getCommentAssign
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEConstraintAble
getAssignedConstraint, getAssignedConstraint, getConstraintAssign
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEModelElement
buildProxyConnection, getActivityPartition, getConsider, getContentStereotypeByClass, getCreateTemplateByClass, getElementColor, getFirstValidContentStereotype, getIgnore, getKnownTypeSystems, getMEModelName, getModelElement, getModelElement, getPresContext, getPresContext, getPresetMapping, getPRPresContent, setElementColor
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MENamedElement
getMappingSourceElement, getMappingSourceElement, getMESupplierDependency, getMESupplierMappingDependency
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MENamespaceAsgnAble
getMENamespace, getSignatureMessage
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEStereotypeAble
getApplicableAnalysisDia, getClientMappingDependency, getDecisionMade, getDecisionOwned, getKnowledgeSourceOfOwner, getMappingTargetElement, getMappingTargetElement, getProxyAsgProperty, getRepresentingArtifact, getRequirementOfStakeholder, getRequirementOfStakeholderOwner, isMapped, setMapped, setRequirementOfStakeholder
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMAttachmentAble
getAssignedAttachment, getAttachmentAssign, getDefaultAttachment, getOwnedAttachment, setDefaultAttachment
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMCommentContainerAble
getOutgoingConceptRealization, getOwnedComment, getRealizedConcept, getRealizedConcept, replaceRealizedConcepts, setRealizedConcept
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMLabelAble
getLabel, getLabelBoolValue, getLabelColor, getLabelInfo, getLabelLongValue, getLabelNameValue, getLabelStringValue, getLabelValueByPattern, getLabelValueByPattern, getLabelValueList, getOwnedLabelValSpec, hasLabel, modifyLabelValuesByName, setLabelInfo
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMStereotypeAble
assignStereotypeDlg, cloneElement, completelySynchronizeOthers, completelySynchronizeThis, getAttrCnstrEffective, getCreateTemplate, getDisplayType, getOwnedFormat, getOwnedStereotypePropertyValSpec, getOwnedStereotypeTSOptionValSpec, getOwnedSyncedElement, getPropBoolValue, getPropLongValue, getPropStringValue, getPropValueList, getStereoPropValueByPattern, getStereoPropValueByPattern, getStereotype, getStereotypeName, getStereotypeProperty, getStereotypePropertyInfo, getStereotypePropertyNameValue, getStereotypeTSOption, getStereotypeTSOptionBoolValue, getStereotypeTSOptionInfo, getStereotypeTSOptionLongValue, getStereotypeTSOptionNameValue, getStereotypeTSOptionStringValue, getStereotypeTSOptionValueByPattern, getStereotypeTSOptionValueByPattern, getStereotypeTSOptionValueList, getSyncedElement, getSyncedStereotypeAble, getSyncedStereotypeAble, isCloneAbleElement, modifyStereotypePropertyValuesByName, modifyStereotypeTSOptionValuesByName, setStereotype, setStereotypePropertyInfo, setStereotypeTSOptionInfo, setSyncedStereotypeAble
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMTextAble
getFlowExpandedValue, getModifyFlowDocuments, getModifyTextValues, getModifyTextValuesDlgInit, getOwnedTextValue, getOwnedTextValueByPattern, getTextExpandedValue, getTextStringValue, getURIList, modifyFlowDocuments, modifyTextValuesDlg
-
-
-
-
Method Detail
-
isControl
boolean isControl() throws InoNetException, SrvErrorException
Informs whether the pins provide the actions with data or just control it when it executes it.- Throws:
InoNetException
SrvErrorException
-
setControl
void setControl(boolean value) throws InoNetException, SrvErrorException
Set the value of Attribut IsControl.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getCorrespondingPin
<T extends ANPin> java.util.List<T> getCorrespondingPin(java.lang.Class<T> returnType, ANAction refObj, K_CONTASGN kind, int mode, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
Searches for anANPin
assigned toargument refObj
that corresponds to the source pin. Properties compared are the kind of the pin (input, output), its name and type. If a argument kind is specified, only pins assigned with this kind will be compared. If argument mode is specified, the kind of the corresponding pin must not equal to the ocl of the incoming pin but to the ocl given in the view interface.- Parameters:
returnType
- Specifies the type of elements to be returned.refObj
- A further instance of type ANAction which is used to control the behaviour of the method. (see description above)kind
- A value of type K_CONTASGN that controls the behaviour of the underlying method. (see description)mode
- A value of type TInteger that controls the behaviour of the underlying method. (see description)behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getCorrespondingPin
<T extends ANPin> java.util.List<T> getCorrespondingPin(java.lang.Class<T> returnType, MMStereotype stereotype, ANAction refObj, K_CONTASGN kind, int mode, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The method calls getCorrespondingPin and filters its return values according to the given stereotype value.- Parameters:
returnType
- Specifies the type of elements to be returned.stereotype
- The stereotype used to filter the result listrefObj
- A further instance of type ANAction which is used to control the behaviour of the method. (see description above)kind
- A value of type K_CONTASGN that controls the behaviour of the underlying method. (see description)mode
- A value of type TInteger that controls the behaviour of the underlying method. (see description)behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getParamNode
java.util.List<ACParamNode> getParamNode(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
Finds theACParamNode
corresponding to theANPin
.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getParamNode
java.util.List<ACParamNode> getParamNode(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The method calls getParamNode and filters its return values according to the given stereotype value.- Parameters:
stereotype
- The stereotype used to filter the result listbehaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getParameter
CLParameter getParameter(java.lang.Class<? extends ELObject> kind, int mode) throws InoNetException, SrvErrorException
Finds theCLParameter
that corresponds to theANPin
. If the pin is named, the parameter equally named will be returned, otherwise the ordering of the pin decides. Normally for anANInputPin
, all parameters with In/In-Out direction and for anANOutputPin
all parameters with Out/In-Out/Return direction will be checked. If e.g. an input pin does not correspond to the input direction of the parameter but to the output direction, it is possible to specify a argument kind 'VOCL_ANOutputPin' which will decide the parameter direction. The parameter is normally searched for by name and type. To suppress the type test, argument mode must be set.- Parameters:
kind
- A value of type K_VOCL that controls the behaviour of the underlying method. (see description)mode
- A value of type TInteger that controls the behaviour of the underlying method. (see description)- Throws:
InoNetException
SrvErrorException
-
-