Package de.mid.innovator.srv2api.icw2db
Class DBSiblingConstraintHelper
java.lang.Object
de.mid.innovator.srv2api.icw2db.DBSiblingConstraintHelper
A
DBSiblingConstraint in the DB model is the counterpart to a ERGeneralizationSet in the ER model.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic DBSiblingConstraintcreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) Create a new Constraint (of disjoint DB Tables) with template and container.static DBSiblingConstraintcreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) Create a new Constraint (of disjoint DB Tables) with stereotype and container.static DBSiblingConstraintcreateByER(SrvContext srvCtx, ELContainerAble ohDBElement, MENamedElement ohERElement) This method creates aDBSiblingConstraintfor the givenERGeneralizationSet(ER element) in the givenMEModel(DB element).
-
Method Details
-
createByER
public static DBSiblingConstraint createByER(SrvContext srvCtx, ELContainerAble ohDBElement, MENamedElement ohERElement) throws InoNetException, SrvErrorException This method creates aDBSiblingConstraintfor the givenERGeneralizationSet(ER element) in the givenMEModel(DB element).- Parameters:
srvCtx- The context of the related innovator server.ohDBElement- Target DB Element for evaluating the owner for the new elementohERElement- Requirement element of the ER Model- Throws:
InoNetExceptionSrvErrorException
-
create
public static DBSiblingConstraint create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException Create a new Constraint (of disjoint DB Tables) 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 DBSiblingConstraint create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException Create a new Constraint (of disjoint DB Tables) 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
-