Package de.mid.innovator.srv2api.icw2dm
Interface DRDecision
-
- All Superinterfaces:
ADAccessAble,ADClientAble,ADFindAble,ADHistoryAble,ADLockAble,ADM2AttrModifyAble,ADOptionAble,ADReferenceAble,ADVersionAble,DMNElement,DRGElement,ELContainerAble,ELContAsgnAble,ELDeleteAble,ELElement,ELNamedElement,ELNamespaceAsgnAble,ELObject,ELPackageAble,ELUUIDAble,ELValueContainerAble,MECommentAble,MEModelElement,MENamedElement,MENamespaceAsgnAble,MEPackageAble,MEStereotypeAble,MMAttachmentAble,MMCommentContainerAble,MMLabelAble,MMLabelTextAttachmentAble,MMStereotypeAble,MMTextAble
public interface DRDecision extends DRGElement
The classDRDecisionis used to model a decision.- See Also:
DRDecisionHelper
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDRDecision.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAllowedAnswers()A natural language description of all answers allowed for the question such as Yes/No, a list of all allowed values, a range of numeric values etc.java.util.List<DRAuthorityRequirement>getAuthorityRequiredBy(K_CONTROL_OPTION... behaviourFlags)References the authority requirements which require thisDRDecision.DMExpressiongetDecisionLogic()The instance ofDMExpressionthat represents the decision logic for thisDRDecision.<T extends MEStereotypeAble>
java.util.List<T>getDecisionMaker(java.lang.Class<T> returnType)<T extends MEStereotypeAble>
java.util.List<T>getDecisionOwner(java.lang.Class<T> returnType)java.util.List<DRDecisionService>getEncapsulatingDecisionService()All decision services which encapsulate this decision.java.util.List<DRInformationRequirement>getInformationRequiredBy(K_CONTROL_OPTION... behaviourFlags)References the information requirements which require thisDRDecision.DRBusinessKnowledgeModelgetInvokedBusinessKnowledgeModel()TheDRBusinessKnowledgeModelwhich is invoked by thisDRDecision.java.util.List<DRDecisionService>getOutputDecisionService()All decision services with this decision as output.java.util.List<DRAuthorityRequirement>getOwnedAuthorityRequirement(K_CONTROL_OPTION... behaviourFlags)References the authority requirements owned by thisDRDecision.java.util.List<DRInformationRequirement>getOwnedInformationRequirement(K_CONTROL_OPTION... behaviourFlags)References the information requirements owned by thisDRDecision.java.util.List<DRKnowledgeRequirement>getOwnedKnowledgeRequirement(K_CONTROL_OPTION... behaviourFlags)References the knowledge requirements owned by thisDRDecision.java.lang.StringgetQuestion()A natural language question that characterizes theDRDecisionsuch that the output of the decision is an answert to the question.<T extends DRDecisionAble>
java.util.List<T>getUsingDecisionAble(java.lang.Class<T> returnType)<T extends DRDecisionOutputAble>
java.util.List<T>getUsingDecisionOutputAble(java.lang.Class<T> returnType)java.util.List<BPProcess>getUsingProcess(K_CONTROL_OPTION... behaviourFlags)java.util.List<BPProcess>getUsingProcess(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)The method calls getUsingProcess and filters its return values according to the given stereotype value.DMInformationItemgetVariable()The instance ofDMInformationItemthat stores the result of thisDRDecision.voidsetAllowedAnswers(java.lang.String value)Set the value of Attribut AllowedAnswers.voidsetDecisionMaker(java.util.List<? extends MEStereotypeAble> values)Set the value of Foreign Key DecisionMaker.voidsetDecisionOwner(java.util.List<? extends MEStereotypeAble> values)Set the value of Foreign Key DecisionOwner.voidsetQuestion(java.lang.String value)Set the value of Attribut Question.-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADAccessAble
getAccessRole, getReadRole, hasAccess, setAccessRole, setReadRole
-
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.ADLockAble
getLock, getLockableCache, getLockLogin, getLockName, hasClutch, hasLock, hasNoLock, hasOthLock, hasOwnLock, isLockable, lock, unlock
-
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.icw2meta.ADOptionAble
getOwnedOption, modifyOptionDlg
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADReferenceAble
getReferenceContainer, setReferenceContainer
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADVersionAble
getVersionFile, getVersionList, getVersionListWithoutOpenInfo
-
Methods inherited from interface de.mid.innovator.srv2api.icw2dm.DMNElement
getBoxedExpressionClient
-
Methods inherited from interface de.mid.innovator.srv2api.icw2dm.DRGElement
getOwnedPrintContext, getOwnedRequirement, getRequiredBy, getVariableName, getVariableType, setVariableName, setVariableType
-
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.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKind
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibility
-
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.ELPackageAble
getElementImportingNamespace, getElementImportingNamespace, getImportedPackageAble, getOwningPackage
-
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.MECommentAble
getAssignedComment, getAssignedComment, getCommentAssign
-
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.icw2model.MENamedElement
getMappingSourceElement, getMappingSourceElement, getMESupplierDependency, getMESupplierMappingDependency
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MENamespaceAsgnAble
getMENamespace, getSignatureMessage
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEPackageAble
getComponent, getManifest
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEStereotypeAble
getApplicableAnalysisDia, getClientMappingDependency, getDecisionMade, getDecisionOwned, getKnowledgeSourceOfOwner, getMappingTargetElement, getMappingTargetElement, getProxyAsgProperty, getRepresentingArtifact, getRequirementOfStakeholder, getRequirementOfStakeholderOwner, isMapped, setMapped, setRequirementOfStakeholder
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMAttachmentAble
getAssignedAttachment, getAttachmentAssign, getDefaultAttachment, getOwnedAttachment, setDefaultAttachment
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMCommentContainerAble
getOutgoingConceptRealization, getOwnedComment, getRealizedConcept, getRealizedConcept, replaceRealizedConcepts, setRealizedConcept
-
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.MMStereotypeAble
assignStereotypeDlg, cloneElement, completelySynchronizeOthers, completelySynchronizeThis, getAttrCnstrEffective, getCreateTemplate, getDisplayType, 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, setStereotype, setStereotypePropertyInfo, setStereotypeTSOptionInfo, setSyncedStereotypeAble
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMTextAble
getFlowExpandedValue, getModifyFlowDocuments, getModifyTextValues, getModifyTextValuesDlgInit, getOwnedTextValue, getOwnedTextValueByPattern, getTextExpandedValue, getTextStringValue, getURIList, modifyFlowDocuments, modifyTextValuesDlg
-
-
-
-
Method Detail
-
getQuestion
java.lang.String getQuestion() throws InoNetException, SrvErrorExceptionA natural language question that characterizes theDRDecisionsuch that the output of the decision is an answert to the question.- Throws:
InoNetExceptionSrvErrorException
-
setQuestion
void setQuestion(java.lang.String value) throws InoNetException, SrvErrorExceptionSet the value of Attribut Question.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getAllowedAnswers
java.lang.String getAllowedAnswers() throws InoNetException, SrvErrorExceptionA natural language description of all answers allowed for the question such as Yes/No, a list of all allowed values, a range of numeric values etc.- Throws:
InoNetExceptionSrvErrorException
-
setAllowedAnswers
void setAllowedAnswers(java.lang.String value) throws InoNetException, SrvErrorExceptionSet the value of Attribut AllowedAnswers.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getInvokedBusinessKnowledgeModel
DRBusinessKnowledgeModel getInvokedBusinessKnowledgeModel() throws InoNetException, SrvErrorException
TheDRBusinessKnowledgeModelwhich is invoked by thisDRDecision.- Throws:
InoNetExceptionSrvErrorException
-
getUsingProcess
java.util.List<BPProcess> getUsingProcess(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
- Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
getUsingProcess
java.util.List<BPProcess> getUsingProcess(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The method calls getUsingProcess and filters its return values according to the given stereotype value.- Parameters:
stereotype- The stereotype used to filter the result listbehaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
getDecisionMaker
<T extends MEStereotypeAble> java.util.List<T> getDecisionMaker(java.lang.Class<T> returnType) throws InoNetException, SrvErrorException
- Parameters:
returnType- Specifies the type of elements to be returned.- Throws:
InoNetExceptionSrvErrorException
-
setDecisionMaker
void setDecisionMaker(java.util.List<? extends MEStereotypeAble> values) throws InoNetException, SrvErrorException
Set the value of Foreign Key DecisionMaker.- Parameters:
values- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getDecisionOwner
<T extends MEStereotypeAble> java.util.List<T> getDecisionOwner(java.lang.Class<T> returnType) throws InoNetException, SrvErrorException
- Parameters:
returnType- Specifies the type of elements to be returned.- Throws:
InoNetExceptionSrvErrorException
-
setDecisionOwner
void setDecisionOwner(java.util.List<? extends MEStereotypeAble> values) throws InoNetException, SrvErrorException
Set the value of Foreign Key DecisionOwner.- Parameters:
values- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getOwnedInformationRequirement
java.util.List<DRInformationRequirement> getOwnedInformationRequirement(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
References the information requirements owned by thisDRDecision.- Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
getInformationRequiredBy
java.util.List<DRInformationRequirement> getInformationRequiredBy(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
References the information requirements which require thisDRDecision.- Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
getOwnedKnowledgeRequirement
java.util.List<DRKnowledgeRequirement> getOwnedKnowledgeRequirement(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
References the knowledge requirements owned by thisDRDecision.- Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
getOwnedAuthorityRequirement
java.util.List<DRAuthorityRequirement> getOwnedAuthorityRequirement(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
References the authority requirements owned by thisDRDecision.- Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
getAuthorityRequiredBy
java.util.List<DRAuthorityRequirement> getAuthorityRequiredBy(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
References the authority requirements which require thisDRDecision.- Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
getVariable
DMInformationItem getVariable() throws InoNetException, SrvErrorException
The instance ofDMInformationItemthat stores the result of thisDRDecision.- Throws:
InoNetExceptionSrvErrorException
-
getDecisionLogic
DMExpression getDecisionLogic() throws InoNetException, SrvErrorException
The instance ofDMExpressionthat represents the decision logic for thisDRDecision.- Throws:
InoNetExceptionSrvErrorException
-
getUsingDecisionAble
<T extends DRDecisionAble> java.util.List<T> getUsingDecisionAble(java.lang.Class<T> returnType) throws InoNetException, SrvErrorException
- Parameters:
returnType- Specifies the type of elements to be returned.- Throws:
InoNetExceptionSrvErrorException
-
getUsingDecisionOutputAble
<T extends DRDecisionOutputAble> java.util.List<T> getUsingDecisionOutputAble(java.lang.Class<T> returnType) throws InoNetException, SrvErrorException
- Parameters:
returnType- Specifies the type of elements to be returned.- Throws:
InoNetExceptionSrvErrorException
-
getOutputDecisionService
java.util.List<DRDecisionService> getOutputDecisionService() throws InoNetException, SrvErrorException
All decision services with this decision as output.- Throws:
InoNetExceptionSrvErrorException
-
getEncapsulatingDecisionService
java.util.List<DRDecisionService> getEncapsulatingDecisionService() throws InoNetException, SrvErrorException
All decision services which encapsulate this decision.- Throws:
InoNetExceptionSrvErrorException
-
-