Interface DMFunctionDefinition
- All Superinterfaces:
ADClientAble, ADFindAble, ADHistoryAble, ADM2AttrModifyAble, DMExpression, DMNElement, ELContainerAble, ELContAsgnAble, ELDeleteAble, ELElement, ELObject, ELUUIDAble, ELValueContainerAble, MEModelElement, MMAttachmentAble, MMLabelAble, MMLabelTextAttachmentAble, MMTextAble
The
DMFunctionDefinition that is contained in a DRBusinessKnowledgeModel element is the reusable module of decision logic that is represented by the DRBusinessKnowledgeModel element.- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionaddParameter(DMInformationItem ohItem, String name, boolean isMaintaining) Creates a newDMInformationItemas parameter of thisDMFunctionDefinition.getFormalParameter(K_CONTROL_OPTION... behaviourFlags) All instances ofDMInformationItemthat are formal parameters of thisDMFunctionDefinition.TheDMExpressionof the body for thisDMFunctionDefinition.The kind of thisDMFunctionDefinition.TheDRBusinessKnowledgeModelwhich encapsulates thisDMFunctionDefinition.voidsetFunctionKind(K_DM_FUNCTION value) Set the value of Attribut FunctionKind.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 DMExpression
getCallingInvocationMethods inherited from interface DMNElement
getBoxedExpressionClientMethods 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 ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasReadMethods inherited from interface ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUIDMethods inherited from interface ELValueContainerAble
getValueReUseAble, setValueReUseAbleMethods 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 MMAttachmentAble
getAssignedAttachment, getAttachmentAssign, getDefaultAttachment, getOwnedAttachment, setDefaultAttachmentMethods inherited from interface MMLabelAble
getLabel, getLabelBoolValue, getLabelColor, getLabelInfo, getLabelLongValue, getLabelNameValue, getLabelStringValue, getLabelValueByPattern, getLabelValueByPattern, getLabelValueList, getOwnedLabelValSpec, hasLabel, modifyLabelValuesByName, setLabelInfo
-
Method Details
-
getFunctionKind
The kind of thisDMFunctionDefinition.- Throws:
InoNetExceptionSrvErrorException
-
setFunctionKind
Set the value of Attribut FunctionKind.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
addParameter
DMInformationItem addParameter(DMInformationItem ohItem, String name, boolean isMaintaining) throws InoNetException, SrvErrorException Creates a newDMInformationItemas parameter of thisDMFunctionDefinition. The new parameter is placed after the specified parameter or at the end otherwise. The name of parameter is checked or if empty an unique name is used.- Parameters:
ohItem- the new information item is created after this item or at the end otherwisename- name of the new information itemisMaintaining- true create additional elements- Throws:
InoNetExceptionSrvErrorException
-
getFormalParameter
List<DMInformationItem> getFormalParameter(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All instances ofDMInformationItemthat are formal parameters of thisDMFunctionDefinition.- Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException- Sorted:
- the result may sorted.
-
getFunctionBody
TheDMExpressionof the body for thisDMFunctionDefinition.- Throws:
InoNetExceptionSrvErrorException
-
getOwningBusinessKnowledgeModel
DRBusinessKnowledgeModel getOwningBusinessKnowledgeModel() throws InoNetException, SrvErrorExceptionTheDRBusinessKnowledgeModelwhich encapsulates thisDMFunctionDefinition.- Throws:
InoNetExceptionSrvErrorException
-