Class MEPackageHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2model.MEPackageHelper
-
public abstract class MEPackageHelper extends java.lang.ObjectA package is a namespace for its members and may contain other packages. Only packageable elements can be owned members of a package. By virtue of being a namespace, a package can import either individual members of other packages or all members of other packages.- See Also:
MEPackage
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MEPackagecreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer)Create a new Package with template and container.static MEPackagecreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer)Create a new Package with stereotype and container.
-
-
-
Method Detail
-
create
public static MEPackage create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Package 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 MEPackage create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Package 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
-
-