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 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 CLBehavioralFeature
getConcurrency, getImplemented, getImplementing, getMethod, getOwnedParameter, getRaisedException, isAbstract, setAbstract, setConcurrency, setImplemented, setMethod, setRaisedExceptionMethods inherited from interface CLParameterAble
getFormalParameter, getFormalParameter, getOwnedParam, getOwnedParameterSet, getReturnResultMethods 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 ELFeature
getEntryInGroupAble, getEntryInGroupAble, getUsingViewElement, isStatic, setStaticMethods inherited from interface ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKindMethods inherited from interface ELNamespaceAble
getElementImport, getImportedElement, getImportedElement, getImportedPackage, getImportedPackage, getItemDefinition, getMember, getMember, getMemberByPattern, getMemberByPattern, getOwnedConstraint, getOwnedMember, getOwnedMemberByPath, getOwnedMemberByPattern, getOwnedMemberByPattern, getOwnedMemberTransitiveByPattern, getOwnedMemberTransitiveByPattern, getOwnedMemberTransitiveByPatternIgnoreCase, getOwnedMemberTransitiveByPatternIgnoreCase, getPackageImportMethods 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 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 MENamespaceAble
getMEOwnedMember, getMEPackageImportMethods 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
-
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
-