Package de.mid.innovator.srv2api.icw2br
Class BRResourceNamedRelHelper
java.lang.Object
de.mid.innovator.srv2api.icw2br.BRResourceNamedRelHelper
This is a utility class for BRResourceNamedRel that provides static methods for creation or other purposes.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic BRResourceNamedRelcreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) Create a new Business Resource Relationship with template from source to target element.static BRResourceNamedRelcreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) Create a new Business Resource Relationship with stereotype from source to target element.
-
Method Details
-
create
public static BRResourceNamedRel create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException Create a new Business Resource Relationship 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 BRResourceNamedRel create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException Create a new Business Resource Relationship 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
-