Package de.mid.innovator.srv2api.icw2db
Class DBPackageHelper
java.lang.Object
de.mid.innovator.srv2api.icw2db.DBPackageHelper
A
DBPackage is both a MEPackage for organizing elements in a tree and a DBSQLObject for modeling privileges or relationships to other SQL objects.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic DBPackagecreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) Create a new Database Object Group with template and container.static DBPackagecreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) Create a new Database Object Group with stereotype and container.
-
Method Details
-
create
public static DBPackage create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException Create a new Database Object Group 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 DBPackage create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException Create a new Database Object Group 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
-