Package de.mid.innovator.srv2api.icw2dm
Class DRKnowledgeRequirementHelper
java.lang.Object
de.mid.innovator.srv2api.icw2dm.DRKnowledgeRequirementHelper
The class
DRKnowledgeRequirement is used to model a knowledge requirement, as represented by a dashed arrow in a DRD by DRDiaRequirementEdge.
A DRKnowledgeRequirement element is a component of a DRDecision element or of a DRBusinessKnowledgeModel element, and it associates that requiring DRDecision or DRBusinessKnowledgeModel element with a required knowledge element, which is an instance of DRBusinessKnowledgeModel.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic DRKnowledgeRequirementcreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) Create a new Knowledge Requirement with template from source to target element.static DRKnowledgeRequirementcreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) Create a new Knowledge Requirement with stereotype from source to target element.static DRKnowledgeRequirementcreateAndMaintain(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) Create a new Knowledge Requirement with template from source to target element.static DRKnowledgeRequirementcreateAndMaintain(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) Create a new Knowledge Requirement with stereotype from source to target element.
-
Method Details
-
create
public static DRKnowledgeRequirement create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException Create a new Knowledge Requirement with stereotype from source to target element.- Parameters:
srvCtx- The context of the related innovator server.ohStereotype- Stereotype for the new elementohSource- Source for the new elementohTarget- Target for the new element- Throws:
InoNetExceptionSrvErrorException
-
create
public static DRKnowledgeRequirement create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException Create a new Knowledge Requirement with template from source to target element.- Parameters:
srvCtx- The context of the related innovator server.ohTemplate- Template for the new elementohSource- Source for the new elementohTarget- Target for the new element- Throws:
InoNetExceptionSrvErrorException
-
createAndMaintain
public static DRKnowledgeRequirement createAndMaintain(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException Create a new Knowledge Requirement with stereotype from source to target element. The created element is maintained.- Parameters:
srvCtx- The context of the related innovator server.ohStereotype- Stereotype for the new elementohSource- Source for the new elementohTarget- Target for the new element- Throws:
InoNetExceptionSrvErrorException
-
createAndMaintain
public static DRKnowledgeRequirement createAndMaintain(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException Create a new Knowledge Requirement with template from source to target element. The created element is maintained.- Parameters:
srvCtx- The context of the related innovator server.ohTemplate- Template for the new elementohSource- Source for the new elementohTarget- Target for the new element- Throws:
InoNetExceptionSrvErrorException
-