Package de.mid.innovator.srv2api.icw2im
Class IMSequenceHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2im.IMSequenceHelper
-
public abstract class IMSequenceHelper extends java.lang.ObjectSubclass ofIMSemanticDataTypewith automatic unique value.- See Also:
IMSequence
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IMSequencecreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer)Create a new Sequence Type with template and container.static IMSequencecreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer)Create a new Sequence Type with stereotype and container.static IMSequencecreateByER(SrvContext srvCtx, ELContainerAble ohDBElement, MENamedElement ohERElement)This method creates aIMSequencefor the given sequence type.
-
-
-
Method Detail
-
createByER
public static IMSequence createByER(SrvContext srvCtx, ELContainerAble ohDBElement, MENamedElement ohERElement) throws InoNetException, SrvErrorException
This method creates aIMSequencefor the given sequence type.(ER element) in the givenMEModel(DB element).
This standard mapping creates aMEMappingDependencywith the given type as requirement element and with the newly created type as implementation element. The mapping dependency is marked as 'maintaining' for further automatic mapping maintenance.
The data type definition is mapped into the knownMMTypeSystemof the target model.- 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 IMSequence create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Sequence Type 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 IMSequence create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Sequence Type 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
-
-