Package de.mid.innovator.srv2api.icw2db
Class DBSiblingConstraintHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2db.DBSiblingConstraintHelper
-
public abstract class DBSiblingConstraintHelper extends java.lang.Object
This is a utility class for DBSiblingConstraint that provides static methods for creation or other purposes.- See Also:
DBSiblingConstraint
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DBSiblingConstraint
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer)
Create a new Constraint (of disjoint DB Tables) with template and container.static DBSiblingConstraint
create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer)
Create a new Constraint (of disjoint DB Tables) with stereotype and container.static DBSiblingConstraint
createByER(SrvContext srvCtx, ELContainerAble ohDBElement, MENamedElement ohERElement)
This method creates aDBSiblingConstraint
for the givenERGeneralizationSet
(ER element) in the givenMEModel
(DB element).
-
-
-
Method Detail
-
createByER
public static DBSiblingConstraint createByER(SrvContext srvCtx, ELContainerAble ohDBElement, MENamedElement ohERElement) throws InoNetException, SrvErrorException
This method creates aDBSiblingConstraint
for 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:
InoNetException
SrvErrorException
-
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:
InoNetException
SrvErrorException
-
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:
InoNetException
SrvErrorException
-
-