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 classDMDecisionTableis used to model a decision table.- See Also:
DMDecisionTableHelper
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDMDecisionTable.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DMRuleAnnotationClauseaddAnnotationClause(DMRuleAnnotationClause ohClause, java.lang.String name)Creates a newDMRuleAnnotationClausefor thisDMDecisionTable.DMDecisionRuleaddDecisionRule(DMDecisionRule ohRule)Creates a newDMDecisionRulefor thisDMDecisionTable.DMInputClauseaddInputClause(DMInputClause ohClause, java.lang.String name, boolean isMaintaining)Creates a newDMInputClausefor thisDMDecisionTable.DMOutputClauseaddOutputClause(DMOutputClause ohClause, java.lang.String name)Creates a newDMOutputClausefor thisDMDecisionTable.voidfillEmptyInputCells()Fills empty input cells of thisDMDecisionTablewith default value '-'.K_BUILTIN_AGGREGATORgetBuiltinAggregation()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 thisDMDecisionTablewhen the hit policy is collect.java.util.List<DMRuleAnnotationClause>getDecisionAnnotation(K_CONTROL_OPTION... behaviourFlags)This attribute lists the instances ofDMRuleAnnotationClausethat compose thisDMDecisionTable.java.util.List<DMInputClause>getDecisionInput(K_CONTROL_OPTION... behaviourFlags)This attribute lists the instances ofDMInputClausethat compose thisDMDecisionTable.java.util.List<DMOutputClause>getDecisionOutput(K_CONTROL_OPTION... behaviourFlags)This attribute lists the instances ofDMOutputClausethat compose thisDMDecisionTable.java.util.List<DMDecisionRule>getDecisionRule(K_CONTROL_OPTION... behaviourFlags)This attribute lists the instances ofDMDecisionRulethat compose thisDMDecisionTable.K_HIT_POLICYgetHitPolicy()The hit policy that determines the semantic of thisDMDecisionTable.java.lang.StringgetOutputLabel()This attribute gives a description of the decision table output, and is often the same as the name of theDMInformationItemfor which thisDMDecisionTableis the value expression.K_DECISION_TABLE_ORIENTATIONgetPreferredOrientation()The preferred orientation for the diagrammatic representation of thisDMDecisionTable.voidsetBuiltinAggregation(K_BUILTIN_AGGREGATOR value)Set the value of Attribut BuiltinAggregation.voidsetHitPolicy(K_HIT_POLICY value)Set the value of Attribut HitPolicy.voidsetOutputLabel(java.lang.String value)Set the value of Attribut OutputLabel.voidsetPreferredOrientation(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:
InoNetExceptionSrvErrorException
-
setHitPolicy
void setHitPolicy(K_HIT_POLICY value) throws InoNetException, SrvErrorException
Set the value of Attribut HitPolicy.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
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 thisDMDecisionTablewhen the hit policy is collect.- Throws:
InoNetExceptionSrvErrorException
-
setBuiltinAggregation
void setBuiltinAggregation(K_BUILTIN_AGGREGATOR value) throws InoNetException, SrvErrorException
Set the value of Attribut BuiltinAggregation.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getPreferredOrientation
K_DECISION_TABLE_ORIENTATION getPreferredOrientation() throws InoNetException, SrvErrorException
The preferred orientation for the diagrammatic representation of thisDMDecisionTable.- Throws:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
getOutputLabel
java.lang.String getOutputLabel() throws InoNetException, SrvErrorExceptionThis attribute gives a description of the decision table output, and is often the same as the name of theDMInformationItemfor which thisDMDecisionTableis the value expression.- Throws:
InoNetExceptionSrvErrorException
-
setOutputLabel
void setOutputLabel(java.lang.String value) throws InoNetException, SrvErrorExceptionSet the value of Attribut OutputLabel.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
addAnnotationClause
DMRuleAnnotationClause addAnnotationClause(DMRuleAnnotationClause ohClause, java.lang.String name) throws InoNetException, SrvErrorException
Creates a newDMRuleAnnotationClausefor 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:
InoNetExceptionSrvErrorException
-
addDecisionRule
DMDecisionRule addDecisionRule(DMDecisionRule ohRule) throws InoNetException, SrvErrorException
Creates a newDMDecisionRulefor 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:
InoNetExceptionSrvErrorException
-
addInputClause
DMInputClause addInputClause(DMInputClause ohClause, java.lang.String name, boolean isMaintaining) throws InoNetException, SrvErrorException
Creates a newDMInputClausefor 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:
InoNetExceptionSrvErrorException
-
addOutputClause
DMOutputClause addOutputClause(DMOutputClause ohClause, java.lang.String name) throws InoNetException, SrvErrorException
Creates a newDMOutputClausefor 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:
InoNetExceptionSrvErrorException
-
fillEmptyInputCells
void fillEmptyInputCells() throws InoNetException, SrvErrorExceptionFills empty input cells of thisDMDecisionTablewith default value '-'.- Throws:
InoNetExceptionSrvErrorException
-
getDecisionRule
java.util.List<DMDecisionRule> getDecisionRule(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
This attribute lists the instances ofDMDecisionRulethat compose thisDMDecisionTable.- Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException- Sorted:
- the result may sorted.
-
getDecisionInput
java.util.List<DMInputClause> getDecisionInput(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
This attribute lists the instances ofDMInputClausethat compose thisDMDecisionTable.- Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException- Sorted:
- the result may sorted.
-
getDecisionOutput
java.util.List<DMOutputClause> getDecisionOutput(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
This attribute lists the instances ofDMOutputClausethat compose thisDMDecisionTable.- Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException- Sorted:
- the result may sorted.
-
getDecisionAnnotation
java.util.List<DMRuleAnnotationClause> getDecisionAnnotation(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
This attribute lists the instances ofDMRuleAnnotationClausethat compose thisDMDecisionTable.- Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException- Sorted:
- the result may sorted.
-
-