Package de.mid.innovator.srv2api.icw2im
Class IMKeyRelationshipFeatureHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2im.IMKeyRelationshipFeatureHelper
-
public abstract class IMKeyRelationshipFeatureHelper extends java.lang.Object
This is a utility class for IMKeyRelationshipFeature that provides static methods for creation or other purposes.- See Also:
IMKeyRelationshipFeature
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IMKeyRelationshipFeature
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, java.util.List<? extends ELElement> seqSel)
Create a new Key Relationship Feature with template and a sequence of elements.
Sequence of elements:
Element 0:IMKeyRelationship
(ERForeignKey
orDBForeignKey
) as owner Element 1:IMStructuralFeature
(ERAttribute
orDBTableColumn
) Element 2:IMUniqueKeyFeature
referenced by the newIMKeyRelationshipFeature
static IMKeyRelationshipFeature
create(SrvContext srvCtx, MMStereotype ohStereotype, java.util.List<? extends ELElement> seqSel)
Create a new Key Relationship Feature with stereotype and a sequence of elements.
Sequence of elements:
Element 0:IMKeyRelationship
(ERForeignKey
orDBForeignKey
) as owner Element 1:IMStructuralFeature
(ERAttribute
orDBTableColumn
) Element 2:IMUniqueKeyFeature
referenced by the newIMKeyRelationshipFeature
static java.util.List<IMKeyRelationshipFeature>
createByER(SrvContext srvCtx, ELContainerAble ohDBElement, MENamedElement ohERElement)
This method creates an analogIMKeyRelationshipFeature
for the given ER element in the givenDBForeignKey
(DB element).
-
-
-
Method Detail
-
createByER
public static java.util.List<IMKeyRelationshipFeature> createByER(SrvContext srvCtx, ELContainerAble ohDBElement, MENamedElement ohERElement) throws InoNetException, SrvErrorException
This method creates an analogIMKeyRelationshipFeature
for the given ER element in the givenDBForeignKey
(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 IMKeyRelationshipFeature create(SrvContext srvCtx, MMStereotype ohStereotype, java.util.List<? extends ELElement> seqSel) throws InoNetException, SrvErrorException
Create a new Key Relationship Feature with stereotype and a sequence of elements.
Sequence of elements:
Element 0:IMKeyRelationship
(ERForeignKey
orDBForeignKey
) as owner Element 1:IMStructuralFeature
(ERAttribute
orDBTableColumn
) Element 2:IMUniqueKeyFeature
referenced by the newIMKeyRelationshipFeature
- Parameters:
srvCtx
- The context of the related innovator server.ohStereotype
- Stereotype for the new elementseqSel
- Sequence of selected elements- Throws:
InoNetException
SrvErrorException
-
create
public static IMKeyRelationshipFeature create(SrvContext srvCtx, MMCreateTemplate ohTemplate, java.util.List<? extends ELElement> seqSel) throws InoNetException, SrvErrorException
Create a new Key Relationship Feature with template and a sequence of elements.
Sequence of elements:
Element 0:IMKeyRelationship
(ERForeignKey
orDBForeignKey
) as owner Element 1:IMStructuralFeature
(ERAttribute
orDBTableColumn
) Element 2:IMUniqueKeyFeature
referenced by the newIMKeyRelationshipFeature
- Parameters:
srvCtx
- The context of the related innovator server.ohTemplate
- Template for the new elementseqSel
- Sequence of selected elements- Throws:
InoNetException
SrvErrorException
-
-