Package de.mid.innovator.srv2api.icw2dm
Interface DMDecisionTable
-
- All Superinterfaces:
ADClientAble
,ADFindAble
,ADHistoryAble
,ADM2AttrModifyAble
,DMExpression
,DMNElement
,ELContainerAble
,ELContAsgnAble
,ELDeleteAble
,ELElement
,ELObject
,ELUUIDAble
,ELValueContainerAble
,MEModelElement
,MMAttachmentAble
,MMLabelAble
,MMLabelTextAttachmentAble
,MMTextAble
public interface DMDecisionTable extends DMExpression
The classDMDecisionTable
is used to model a decision table.- See Also:
DMDecisionTableHelper
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
DMDecisionTable.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DMRuleAnnotationClause
addAnnotationClause(DMRuleAnnotationClause ohClause, java.lang.String name)
Creates a newDMRuleAnnotationClause
for thisDMDecisionTable
.DMDecisionRule
addDecisionRule(DMDecisionRule ohRule)
Creates a newDMDecisionRule
for thisDMDecisionTable
.DMInputClause
addInputClause(DMInputClause ohClause, java.lang.String name, boolean isMaintaining)
Creates a newDMInputClause
for thisDMDecisionTable
.DMOutputClause
addOutputClause(DMOutputClause ohClause, java.lang.String name)
Creates a newDMOutputClause
for thisDMDecisionTable
.void
fillEmptyInputCells()
Fills empty input cells of thisDMDecisionTable
with default value '-'.K_BUILTIN_AGGREGATOR
getBuiltinAggregation()
If present, this attribute specifies the aggregation function to be applied to the unordered set of values of the applicable rules to determine the value of thisDMDecisionTable
when the hit policy is collect.java.util.List<DMRuleAnnotationClause>
getDecisionAnnotation(K_CONTROL_OPTION... behaviourFlags)
This attribute lists the instances ofDMRuleAnnotationClause
that compose thisDMDecisionTable
.java.util.List<DMInputClause>
getDecisionInput(K_CONTROL_OPTION... behaviourFlags)
This attribute lists the instances ofDMInputClause
that compose thisDMDecisionTable
.java.util.List<DMOutputClause>
getDecisionOutput(K_CONTROL_OPTION... behaviourFlags)
This attribute lists the instances ofDMOutputClause
that compose thisDMDecisionTable
.java.util.List<DMDecisionRule>
getDecisionRule(K_CONTROL_OPTION... behaviourFlags)
This attribute lists the instances ofDMDecisionRule
that compose thisDMDecisionTable
.K_HIT_POLICY
getHitPolicy()
The hit policy that determines the semantic of thisDMDecisionTable
.java.lang.String
getOutputLabel()
This attribute gives a description of the decision table output, and is often the same as the name of theDMInformationItem
for which thisDMDecisionTable
is the value expression.K_DECISION_TABLE_ORIENTATION
getPreferredOrientation()
The preferred orientation for the diagrammatic representation of thisDMDecisionTable
.void
setBuiltinAggregation(K_BUILTIN_AGGREGATOR value)
Set the value of Attribut BuiltinAggregation.void
setHitPolicy(K_HIT_POLICY value)
Set the value of Attribut HitPolicy.void
setOutputLabel(java.lang.String value)
Set the value of Attribut OutputLabel.void
setPreferredOrientation(K_DECISION_TABLE_ORIENTATION value)
Set the value of Attribut PreferredOrientation.-
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
-
getHitPolicy
K_HIT_POLICY getHitPolicy() throws InoNetException, SrvErrorException
The hit policy that determines the semantic of thisDMDecisionTable
.- Throws:
InoNetException
SrvErrorException
-
setHitPolicy
void setHitPolicy(K_HIT_POLICY value) throws InoNetException, SrvErrorException
Set the value of Attribut HitPolicy.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getBuiltinAggregation
K_BUILTIN_AGGREGATOR getBuiltinAggregation() throws InoNetException, SrvErrorException
If present, this attribute specifies the aggregation function to be applied to the unordered set of values of the applicable rules to determine the value of thisDMDecisionTable
when the hit policy is collect.- Throws:
InoNetException
SrvErrorException
-
setBuiltinAggregation
void setBuiltinAggregation(K_BUILTIN_AGGREGATOR value) throws InoNetException, SrvErrorException
Set the value of Attribut BuiltinAggregation.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getPreferredOrientation
K_DECISION_TABLE_ORIENTATION getPreferredOrientation() throws InoNetException, SrvErrorException
The preferred orientation for the diagrammatic representation of thisDMDecisionTable
.- Throws:
InoNetException
SrvErrorException
-
setPreferredOrientation
void setPreferredOrientation(K_DECISION_TABLE_ORIENTATION value) throws InoNetException, SrvErrorException
Set the value of Attribut PreferredOrientation.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getOutputLabel
java.lang.String getOutputLabel() throws InoNetException, SrvErrorException
This attribute gives a description of the decision table output, and is often the same as the name of theDMInformationItem
for which thisDMDecisionTable
is the value expression.- Throws:
InoNetException
SrvErrorException
-
setOutputLabel
void setOutputLabel(java.lang.String value) throws InoNetException, SrvErrorException
Set the value of Attribut OutputLabel.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
addAnnotationClause
DMRuleAnnotationClause addAnnotationClause(DMRuleAnnotationClause ohClause, java.lang.String name) throws InoNetException, SrvErrorException
Creates a newDMRuleAnnotationClause
for thisDMDecisionTable
. The new rule annotation clause is placed after the specified clause or at the end otherwise.- Parameters:
ohClause
- the new rule annotation clause is created after this clause or at the end otherwisename
- name of the new rule annotation clause- Throws:
InoNetException
SrvErrorException
-
addDecisionRule
DMDecisionRule addDecisionRule(DMDecisionRule ohRule) throws InoNetException, SrvErrorException
Creates a newDMDecisionRule
for thisDMDecisionTable
. The new decision rule is placed after the specified rule or at the end otherwise.- Parameters:
ohRule
- the new decision rule is created after this rule or at the end otherwise- Throws:
InoNetException
SrvErrorException
-
addInputClause
DMInputClause addInputClause(DMInputClause ohClause, java.lang.String name, boolean isMaintaining) throws InoNetException, SrvErrorException
Creates a newDMInputClause
for thisDMDecisionTable
. The new input clause is placed after the specified clause or at the end otherwise.- Parameters:
ohClause
- the new input is created after this input or at the end otherwisename
- name of the new inputisMaintaining
- true create additional elements- Throws:
InoNetException
SrvErrorException
-
addOutputClause
DMOutputClause addOutputClause(DMOutputClause ohClause, java.lang.String name) throws InoNetException, SrvErrorException
Creates a newDMOutputClause
for thisDMDecisionTable
. The new output clause is placed after the specified clause or at the end otherwise.- Parameters:
ohClause
- the new output clause is created after this clause or at the end otherwisename
- name of the new output clause- Throws:
InoNetException
SrvErrorException
-
fillEmptyInputCells
void fillEmptyInputCells() throws InoNetException, SrvErrorException
Fills empty input cells of thisDMDecisionTable
with default value '-'.- Throws:
InoNetException
SrvErrorException
-
getDecisionRule
java.util.List<DMDecisionRule> getDecisionRule(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
This attribute lists the instances ofDMDecisionRule
that compose thisDMDecisionTable
.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
- Sorted:
- the result may sorted.
-
getDecisionInput
java.util.List<DMInputClause> getDecisionInput(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
This attribute lists the instances ofDMInputClause
that compose thisDMDecisionTable
.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
- Sorted:
- the result may sorted.
-
getDecisionOutput
java.util.List<DMOutputClause> getDecisionOutput(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
This attribute lists the instances ofDMOutputClause
that compose thisDMDecisionTable
.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
- Sorted:
- the result may sorted.
-
getDecisionAnnotation
java.util.List<DMRuleAnnotationClause> getDecisionAnnotation(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
This attribute lists the instances ofDMRuleAnnotationClause
that compose thisDMDecisionTable
.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
- Sorted:
- the result may sorted.
-
-