Interface CLOperation
- All Superinterfaces:
ADClientAble,ADFindAble,ADHistoryAble,ADM2AttrModifyAble,CLBehavioralFeature,CLDeclarationAble,CLFeature,CLParameterAble,ELContainerAble,ELContAsgnAble,ELDeleteAble,ELElement,ELFeature,ELNamedElement,ELNamespaceAble,ELNamespaceAsgnAble,ELObject,ELRedefAble,ELUUIDAble,ELValueContainerAble,MECommentAble,MEConstraintAble,MEModelElement,MENamedElement,MENamespaceAble,MENamespaceAsgnAble,MEStereotypeAble,METermAble,METriggerReferenceAble,MMAttachmentAble,MMCommentContainerAble,MMLabelAble,MMLabelTextAttachmentAble,MMStereotypeAble,MMTextAble
An operation is a behavioral feature of a classifier that specifies the name, type, parameters and constraints for invoking an associated behavior.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionAn optional constraint on the result values of an invocation of this operation.Returns theCLOperationof the call event.The action that transmits the operation call request to the target object, where it may cause the invocation of associated behavior.getEvent(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All occurrences where this operation is used as event.getMessage(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All messages using thisCLOperationas signature.Returns the declaration of this operation with all parameters.An optional set of constraints specifying the state of the system when the operation is completed.An optional set of constraints on the state of the system when the operation is invoked.booleanisQuery()True, if this operation is a query.voidmodifyOperationDeclaration(CLOperation ohOp, String strDecl, String strName, List<ARG_CLParameterDeclaration> seqPar, ARG_CLParameterDeclaration valParReturn, int idStereoOp, int idStereoPar, int idModel) Modifies the declaration of this operation with all parameters.voidsetProperty(CLProperty value) Set the value of Foreign Key Property.voidsetQuery(boolean value) Set the value of Attribut IsQuery.Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADClientAble
getAnnotation, getEndAnalysisDia, getLogic, getLogic, getPresentationContext, getSection, getStartAnalysisDiaMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADHistoryAble
getCreateTime, getCreator, getHistory, getModifier, getModifyTime, modifyHistory, setHistoryMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRelshipTypeList, getTabElementRowList, getTabElementRowTypeList, getTabRelshipList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModifyMethods inherited from interface de.mid.innovator.srv2api.icw2class.CLBehavioralFeature
getConcurrency, getImplemented, getImplementing, getMethod, getOwnedParameter, getRaisedException, isAbstract, setAbstract, setConcurrency, setImplemented, setMethod, setRaisedExceptionMethods inherited from interface de.mid.innovator.srv2api.icw2class.CLParameterAble
getFormalParameter, getFormalParameter, getOwnedParam, getOwnedParameterSet, getReturnResultMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContentsMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwnerMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELDeleteAble
deleteMethods inherited from interface de.mid.innovator.srv2api.icw2elem.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 de.mid.innovator.srv2api.icw2elem.ELFeature
getEntryInGroupAble, getEntryInGroupAble, getUsingViewElement, isStatic, setStaticMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKindMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAble
getElementImport, getImportedElement, getImportedElement, getImportedPackage, getImportedPackage, getMember, getMember, getMemberByPattern, getMemberByPattern, getOwnedConstraint, getOwnedMember, getOwnedMemberByPath, getOwnedMemberByPattern, getOwnedMemberByPattern, getOwnedMemberTransitiveByPattern, getOwnedMemberTransitiveByPattern, getOwnedMemberTransitiveByPatternIgnoreCase, getOwnedMemberTransitiveByPatternIgnoreCase, getPackageImportMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibilityMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasReadMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELRedefAble
getRedefined, getRedefining, isLeaf, isRedefined, isRedefining, setLeaf, setRedefinedMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUIDMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELValueContainerAble
getValueReUseAble, setValueReUseAbleMethods inherited from interface de.mid.innovator.srv2api.icw2model.MECommentAble
getAssignedComment, getAssignedComment, getCommentAssignMethods inherited from interface de.mid.innovator.srv2api.icw2model.MEConstraintAble
getAssignedConstraint, getAssignedConstraint, getConstraintAssignMethods inherited from interface de.mid.innovator.srv2api.icw2model.MEModelElement
buildProxyConnection, getActivityPartition, getConsider, getContentStereotypeByClass, getCreateTemplateByClass, getDataModel, getDataModelName, getElementColor, getFirstValidContentStereotype, getIgnore, getKnownTypeSystems, getMEModelName, getModelElement, getModelElement, getPresContext, getPresContext, getPresetMapping, getPRPresContent, setElementColorMethods inherited from interface de.mid.innovator.srv2api.icw2model.MENamedElement
getMappingSourceElement, getMappingSourceElement, getMESupplierDependency, getMESupplierMappingDependencyMethods inherited from interface de.mid.innovator.srv2api.icw2model.MENamespaceAble
getMEOwnedMember, getMEPackageImportMethods inherited from interface de.mid.innovator.srv2api.icw2model.MENamespaceAsgnAble
getMENamespace, getSignatureMessageMethods inherited from interface de.mid.innovator.srv2api.icw2model.MEStereotypeAble
getApplicableAnalysisDia, getClientMappingDependency, getDecisionMade, getDecisionOwned, getKnowledgeSourceOfOwner, getMappingTargetElement, getMappingTargetElement, getProxyAsgProperty, getRepresentingArtifact, getRequirementOfStakeholder, getRequirementOfStakeholderOwner, isMapped, setMapped, setRequirementOfStakeholderMethods inherited from interface de.mid.innovator.srv2api.icw2model.METermAble
getTerm, setTermMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMAttachmentAble
getAssignedAttachment, getAttachmentAssign, getDefaultAttachment, getOwnedAttachment, setDefaultAttachmentMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMCommentContainerAble
getOutgoingConceptRealization, getOwnedComment, getRealizedConcept, getRealizedConcept, replaceRealizedConcepts, setRealizedConceptMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMLabelAble
getLabel, getLabelBoolValue, getLabelColor, getLabelInfo, getLabelLongValue, getLabelNameValue, getLabelStringValue, getLabelValueByPattern, getLabelValueByPattern, getLabelValueList, getOwnedLabelValSpec, hasLabel, modifyLabelValuesByName, setLabelInfoMethods 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, setSyncedStereotypeAbleMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMTextAble
getFlowExpandedValue, getModifyFlowDocuments, getModifyTextValues, getModifyTextValuesDlgInit, getOwnedTextValue, getOwnedTextValueByPattern, getText, getTextExpandedValue, getTextStringValue, getURIList, modifyFlowDocuments, modifyTextValuesDlg
-
Method Details
-
isQuery
True, if this operation is a query.- Throws:
InoNetExceptionSrvErrorException
-
setQuery
Set the value of Attribut IsQuery.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getModifyOperationDeclaration
ARG_CLOperationDeclaration getModifyOperationDeclaration() throws InoNetException, SrvErrorExceptionReturns the declaration of this operation with all parameters.- Throws:
InoNetExceptionSrvErrorException
-
modifyOperationDeclaration
void modifyOperationDeclaration(CLOperation ohOp, String strDecl, String strName, List<ARG_CLParameterDeclaration> seqPar, ARG_CLParameterDeclaration valParReturn, int idStereoOp, int idStereoPar, int idModel) throws InoNetException, SrvErrorException Modifies the declaration of this operation with all parameters.- Parameters:
ohOp- operation elementstrDecl- declaration of the operationstrName- name of the operationseqPar- list of parametersvalParReturn- return parameteridStereoOp- id of operation stereotypeidStereoPar- id for new parameter stereotypeidModel- id of model package- Throws:
InoNetExceptionSrvErrorException
-
getEvent
<T extends BEEvent> List<T> getEvent(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All occurrences where this operation is used as event.- Parameters:
returnType- Specifies the type of elements to be returned.behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
getMessage
<T extends IAMessage> List<T> getMessage(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All messages using thisCLOperationas signature.- Parameters:
returnType- Specifies the type of elements to be returned.behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
getProperty
- Throws:
InoNetExceptionSrvErrorException
-
setProperty
Set the value of Foreign Key Property.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getCallEvent
Returns theCLOperationof the call event.- Throws:
InoNetExceptionSrvErrorException
-
getCallOperationAction
The action that transmits the operation call request to the target object, where it may cause the invocation of associated behavior.- Throws:
InoNetExceptionSrvErrorException
-
getPrecondition
An optional set of constraints on the state of the system when the operation is invoked.- Throws:
InoNetExceptionSrvErrorException
-
getPostcondition
An optional set of constraints specifying the state of the system when the operation is completed.- Throws:
InoNetExceptionSrvErrorException
-
getBodyCondition
An optional constraint on the result values of an invocation of this operation.- Throws:
InoNetExceptionSrvErrorException
-
getArtifact
- Throws:
InoNetExceptionSrvErrorException
-
getOwnClass
- Throws:
InoNetExceptionSrvErrorException
-
getDataType
- Throws:
InoNetExceptionSrvErrorException
-
getInterface
- Throws:
InoNetExceptionSrvErrorException
-