Package de.mid.innovator.srv2api.icw2im
Class IMSequenceHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2im.IMSequenceHelper
-
public abstract class IMSequenceHelper extends java.lang.Object
Subclass ofIMSemanticDataType
with automatic unique value.- See Also:
IMSequence
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IMSequence
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer)
Create a new Sequence Type with template and container.static IMSequence
create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer)
Create a new Sequence Type with stereotype and container.static IMSequence
createByER(SrvContext srvCtx, ELContainerAble ohDBElement, MENamedElement ohERElement)
This method creates aIMSequence
for the given sequence type.
-
-
-
Method Detail
-
createByER
public static IMSequence createByER(SrvContext srvCtx, ELContainerAble ohDBElement, MENamedElement ohERElement) throws InoNetException, SrvErrorException
This method creates aIMSequence
for the given sequence type.(ER element) in the givenMEModel
(DB element).
This standard mapping creates aMEMappingDependency
with 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 knownMMTypeSystem
of 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:
InoNetException
SrvErrorException
-
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:
InoNetException
SrvErrorException
-
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:
InoNetException
SrvErrorException
-
-