Class CLDeviceHelper
java.lang.Object
de.mid.innovator.srv2api.icw2class.CLDeviceHelper
A device is a physical computational resource with processing capability which artifacts may be deployed for execution on. Devices may be complex (i.e., they may consist of other devices).
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic CLDevicecreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) Create a new Device with template and container.static CLDevicecreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) Create a new Device with stereotype and container.
-
Method Details
-
create
public static CLDevice create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException Create a new Device with stereotype and container.- Parameters:
srvCtx- The context of the related innovator server.ohStereotype- Stereotype for the new elementohContainer- Container for the new element- Throws:
InoNetExceptionSrvErrorException
-
create
public static CLDevice create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException Create a new Device with template and container.- Parameters:
srvCtx- The context of the related innovator server.ohTemplate- Template for the new elementohContainer- Container for the new element- Throws:
InoNetExceptionSrvErrorException
-