Package de.mid.innovator.srv2api.icw2dm
Interface DMFunctionDefinition
-
- All Superinterfaces:
ADClientAble
,ADFindAble
,ADHistoryAble
,ADM2AttrModifyAble
,DMExpression
,DMNElement
,ELContainerAble
,ELContAsgnAble
,ELDeleteAble
,ELElement
,ELObject
,ELUUIDAble
,ELValueContainerAble
,MEModelElement
,MMAttachmentAble
,MMLabelAble
,MMLabelTextAttachmentAble
,MMTextAble
public interface DMFunctionDefinition extends DMExpression
TheDMFunctionDefinition
that is contained in aDRBusinessKnowledgeModel
element is the reusable module of decision logic that is represented by theDRBusinessKnowledgeModel
element.- See Also:
DMFunctionDefinitionHelper
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
DMFunctionDefinition.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DMInformationItem
addParameter(DMInformationItem ohItem, java.lang.String name, boolean isMaintaining)
Creates a newDMInformationItem
as parameter of thisDMFunctionDefinition
.java.util.List<DMInformationItem>
getFormalParameter(K_CONTROL_OPTION... behaviourFlags)
All instances ofDMInformationItem
that are formal parameters of thisDMFunctionDefinition
.DMExpression
getFunctionBody()
TheDMExpression
of the body for thisDMFunctionDefinition
.K_DM_FUNCTION
getFunctionKind()
The kind of thisDMFunctionDefinition
.DRBusinessKnowledgeModel
getOwningBusinessKnowledgeModel()
TheDRBusinessKnowledgeModel
which encapsulates thisDMFunctionDefinition
.void
setFunctionKind(K_DM_FUNCTION value)
Set the value of Attribut FunctionKind.-
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.icw2dm.DMExpression
getCallingInvocation, getOwningBinding, getOwningContextEntry, getOwningDecision, getOwningFunctionDefinition, getOwningList
-
Methods inherited from interface de.mid.innovator.srv2api.icw2dm.DMNElement
getBoxedExpressionClient
-
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.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasRead
-
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.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.icw2meta.MMAttachmentAble
getAssignedAttachment, getAttachmentAssign, getDefaultAttachment, getOwnedAttachment, setDefaultAttachment
-
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.MMTextAble
getFlowExpandedValue, getModifyFlowDocuments, getModifyTextValues, getModifyTextValuesDlgInit, getOwnedTextValue, getOwnedTextValueByPattern, getTextExpandedValue, getTextStringValue, getURIList, modifyFlowDocuments, modifyTextValuesDlg
-
-
-
-
Method Detail
-
getFunctionKind
K_DM_FUNCTION getFunctionKind() throws InoNetException, SrvErrorException
The kind of thisDMFunctionDefinition
.- Throws:
InoNetException
SrvErrorException
-
setFunctionKind
void setFunctionKind(K_DM_FUNCTION value) throws InoNetException, SrvErrorException
Set the value of Attribut FunctionKind.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
addParameter
DMInformationItem addParameter(DMInformationItem ohItem, java.lang.String name, boolean isMaintaining) throws InoNetException, SrvErrorException
Creates a newDMInformationItem
as 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:
InoNetException
SrvErrorException
-
getFormalParameter
java.util.List<DMInformationItem> getFormalParameter(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
All instances ofDMInformationItem
that are formal parameters of thisDMFunctionDefinition
.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
- Sorted:
- the result may sorted.
-
getFunctionBody
DMExpression getFunctionBody() throws InoNetException, SrvErrorException
TheDMExpression
of the body for thisDMFunctionDefinition
.- Throws:
InoNetException
SrvErrorException
-
getOwningBusinessKnowledgeModel
DRBusinessKnowledgeModel getOwningBusinessKnowledgeModel() throws InoNetException, SrvErrorException
TheDRBusinessKnowledgeModel
which encapsulates thisDMFunctionDefinition
.- Throws:
InoNetException
SrvErrorException
-
-