Package de.mid.innovator.srv2api.icw2dm
Class DRAuthorityRequirementHelper
java.lang.Object
de.mid.innovator.srv2api.icw2dm.DRAuthorityRequirementHelper
The class
DRAuthorityRequirement is used to model an authority requirement, as represented by an arrow drawn with dashed line and a filled circular head in a DRD by DRDiaRequirementEdge.
An DRAuthorityRequirement element is a component of a DRDecision, DRBusinessKnowledgeModel or DRKnowledgeSource element, and it associates that requiring DRDecision, DRBusinessKnowledgeModel or DRKnowledgeSource element with a required authority element, which is an instance of DRKnowledgeSource, a required decision element, which is an instance of DRDecision, or a required input element, which is an instance of DRInputData.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic DRAuthorityRequirementcreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) Create a new Authority Requirement with template from source to target element.static DRAuthorityRequirementcreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) Create a new Authority Requirement with stereotype from source to target element.
-
Method Details
-
create
public static DRAuthorityRequirement create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException Create a new Authority 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 DRAuthorityRequirement create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException Create a new Authority 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
-