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, METermAble, MMAttachmentAble, MMCommentContainerAble, MMLabelAble, MMLabelTextAttachmentAble, MMStereotypeAble, MMTextAble
- All Known Subinterfaces:
ANActionInputPin, ANInputPin, ANOutputPin, ANValuePin
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 -
Method Summary
Modifier and TypeMethodDescriptiongetCorrespondingPin(Class<T> returnType, ANAction refObj, K_CONTASGN kind, int mode, K_CONTROL_OPTION... behaviourFlags) Searches for anANPinassigned toargument refObjthat corresponds to the source pin.getCorrespondingPin(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.getParameter(Class<? extends ELObject> kind, int mode) Finds theCLParameterthat corresponds to theANPin.Finds theACParamNodecorresponding to theANPin.getParamNode(MMStereotype stereotype) The method calls getParamNode and filters its return values according to the given stereotype value.booleanInforms whether the pins provide the actions with data or just control it when it executes it.voidsetControl(boolean value) Set the value of Attribut IsControl.Methods inherited from interface ACActivityNode
getActivity, getIncoming, getInGroup, getInGroup, getInGroupExplicit, getInGroupImplicit, getNodeCoord, getOutgoing, isInInterruptibleRegion, replaceInGroupExplicit, setInGroupExplicit, setInGroupImplicit, setNodeCoordMethods inherited from interface ACObjectNode
getHandler, getInState, getManualTypeAssign, getOrdering, getSelBehavior, getSelectionBehavior, getUpperBound, getUpperBoundSpecification, isControlType, modifyBehaviorForSelection, setControlType, setInState, setOrdering, setSelectionBehavior, setUpperBoundSpecificationMethods inherited from interface ADClientAble
getAnnotation, getEndAnalysisDia, getLogic, getLogic, getPresentationContext, getSection, getStartAnalysisDiaMethods inherited from interface ADHistoryAble
getCreateTime, getCreator, getHistory, getModifier, getModifyTime, modifyHistory, setHistoryMethods inherited from interface ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRelshipTypeList, getTabElementRowList, getTabElementRowTypeList, getTabRelshipList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModifyMethods inherited from interface ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContentsMethods inherited from interface ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwnerMethods inherited from interface ELDeleteAble
deleteMethods inherited from interface ELElement
duplicateElement, getAssignAbleToVattr, getAssignAbleToVattr, getClientId, getCreateTemplateOfInstance, getDisplayBitmap, getDisplayColor, getDisplayFont, getDisplayLine, getDisplayName, getDisplayNameShort, getDisplayNSName, getElementCache, getElementMappingInformation, getNotificationElement, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnitMethods inherited from interface ELMultiplicityAble
getLower, getLowerBoundAsString, getLowerUpperVal, getUpper, getUpperBoundAsString, hasMultiplicity11, hasUpper1, isMany, isMultivalued, isOptional, isOrdered, isUnique, setLower, setMany, setOptional, setOrdered, setUnique, setUpperMethods inherited from interface ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKindMethods inherited from interface ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibilityMethods inherited from interface ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasReadMethods inherited from interface ELRedefAble
getRedefined, getRedefining, isLeaf, isRedefined, isRedefining, setLeaf, setRedefinedMethods inherited from interface ELTypedElement
getModifyTypedElementDeclaration, getType, getTypedElementCnstr, getTypeKind, getValSpecOfTypedElement, getValSpecOfTypedElementWithPattern, getValSpecOfTypedElementWithPattern, isBitmapAble, isColorAble, modifyTypedElementDeclaration, setTypeMethods inherited from interface ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUIDMethods inherited from interface ELValueContainerAble
getValueReUseAble, setValueReUseAbleMethods inherited from interface MECommentAble
getAssignedComment, getAssignedComment, getCommentAssignMethods inherited from interface MEConstraintAble
getAssignedConstraint, getAssignedConstraint, getConstraintAssignMethods inherited from interface MEModelElement
buildProxyConnection, getActivityPartition, getConsider, getContentStereotypeByClass, getCreateTemplateByClass, getDataModel, getDataModelName, getElementColor, getFirstValidContentStereotype, getIgnore, getKnownTypeSystems, getMEModelName, getModelElement, getModelElement, getPresContext, getPresContext, getPresetMapping, getPRPresContent, setElementColorMethods inherited from interface MENamedElement
getMappingSourceElement, getMappingSourceElement, getMESupplierDependency, getMESupplierMappingDependencyMethods inherited from interface MENamespaceAsgnAble
getSignatureMessageMethods inherited from interface MEStereotypeAble
getClientMappingDependency, getDecisionMade, getDecisionOwned, getKnowledgeSourceOfOwner, getMappingTargetElement, getMappingTargetElement, getMEClientDependency, getProxyAsgProperty, getRepresentingArtifact, getRequirementOfStakeholder, getRequirementOfStakeholderOwner, isMapped, setMapped, setRequirementOfStakeholderMethods inherited from interface METermAble
getTerm, setTermMethods inherited from interface MMAttachmentAble
getAssignedAttachment, getAttachmentAssign, getDefaultAttachment, getOwnedAttachment, setDefaultAttachmentMethods inherited from interface MMCommentContainerAble
getOutgoingConceptRealization, getOwnedComment, getRealizedConcept, getRealizedConcept, replaceRealizedConcepts, setRealizedConceptMethods inherited from interface MMLabelAble
getLabel, getLabelBoolValue, getLabelColor, getLabelInfo, getLabelLongValue, getLabelNameValue, getLabelStringValue, getLabelValueByPattern, getLabelValueByPattern, getLabelValueList, getOwnedLabelValSpec, hasLabel, modifyLabelValuesByName, setLabelInfoMethods inherited from interface MMStereotypeAble
assignStereotypeDlg, cloneElement, completelySynchronizeOthers, completelySynchronizeThis, getAttrCnstrEffective, getCreateTemplate, getDisplayType, getExtendingStereotype, getExtendingStereotypeNames, 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, setExtendingStereotype, setStereotype, setStereotypePropertyInfo, setStereotypeTSOptionInfo, setSyncedStereotypeAble
-
Method Details
-
isControl
Informs whether the pins provide the actions with data or just control it when it executes it.- Throws:
InoNetExceptionSrvErrorException
-
setControl
Set the value of Attribut IsControl.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getCorrespondingPin
<T extends ANPin> List<T> getCorrespondingPin(Class<T> returnType, ANAction refObj, K_CONTASGN kind, int mode, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException Searches for anANPinassigned toargument refObjthat 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:
InoNetExceptionSrvErrorException
-
getCorrespondingPin
<T extends ANPin> List<T> getCorrespondingPin(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:
InoNetExceptionSrvErrorException
-
getParamNode
Finds theACParamNodecorresponding to theANPin.- Throws:
InoNetExceptionSrvErrorException
-
getParamNode
The method calls getParamNode and filters its return values according to the given stereotype value.- Parameters:
stereotype- The stereotype used to filter the result list- Throws:
InoNetExceptionSrvErrorException
-
getParameter
CLParameter getParameter(Class<? extends ELObject> kind, int mode) throws InoNetException, SrvErrorException Finds theCLParameterthat 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 anANOutputPinall 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:
InoNetExceptionSrvErrorException
-