Package de.mid.innovator.srv2api.icw2im
Class IMKeyRelationshipFeatureHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2im.IMKeyRelationshipFeatureHelper
-
public abstract class IMKeyRelationshipFeatureHelper extends java.lang.ObjectThis 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 IMKeyRelationshipFeaturecreate(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(ERForeignKeyorDBForeignKey) as owner Element 1:IMStructuralFeature(ERAttributeorDBTableColumn) Element 2:IMUniqueKeyFeaturereferenced by the newIMKeyRelationshipFeaturestatic IMKeyRelationshipFeaturecreate(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(ERForeignKeyorDBForeignKey) as owner Element 1:IMStructuralFeature(ERAttributeorDBTableColumn) Element 2:IMUniqueKeyFeaturereferenced by the newIMKeyRelationshipFeaturestatic java.util.List<IMKeyRelationshipFeature>createByER(SrvContext srvCtx, ELContainerAble ohDBElement, MENamedElement ohERElement)This method creates an analogIMKeyRelationshipFeaturefor 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 analogIMKeyRelationshipFeaturefor 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:
InoNetExceptionSrvErrorException
-
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(ERForeignKeyorDBForeignKey) as owner Element 1:IMStructuralFeature(ERAttributeorDBTableColumn) Element 2:IMUniqueKeyFeaturereferenced by the newIMKeyRelationshipFeature- Parameters:
srvCtx- The context of the related innovator server.ohStereotype- Stereotype for the new elementseqSel- Sequence of selected elements- Throws:
InoNetExceptionSrvErrorException
-
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(ERForeignKeyorDBForeignKey) as owner Element 1:IMStructuralFeature(ERAttributeorDBTableColumn) Element 2:IMUniqueKeyFeaturereferenced by the newIMKeyRelationshipFeature- Parameters:
srvCtx- The context of the related innovator server.ohTemplate- Template for the new elementseqSel- Sequence of selected elements- Throws:
InoNetExceptionSrvErrorException
-
-