Class MEMappingDependencyHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2model.MEMappingDependencyHelper
-
public abstract class MEMappingDependencyHelper extends java.lang.ObjectMapping dependendcy is a subclass ofMEDependency. The semantic is, that the owner of this mapping dependency was created by a mapping process using the target of the dependency as requirement.
Creating a mapping dependency sets the 'is mapped' attribute of the owner to true. Which will be kept true even if the mapping dependency will be deleted.- See Also:
MEMappingDependency
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MEMappingDependencycreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget)Create a new Mapping Dependency with template from source to target element.static MEMappingDependencycreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget)Create a new Mapping Dependency with stereotype from source to target element.
-
-
-
Method Detail
-
create
public static MEMappingDependency create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException
Create a new Mapping Dependency with stereotype from source to target element.- Parameters:
srvCtx- The context of the related innovator server.ohStereotype- Stereotype for the new elementohSource- Source for the new elementohTarget- Target for the new element- Throws:
InoNetExceptionSrvErrorException
-
create
public static MEMappingDependency create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException
Create a new Mapping Dependency with template from source to target element.- Parameters:
srvCtx- The context of the related innovator server.ohTemplate- Template for the new elementohSource- Source for the new elementohTarget- Target for the new element- Throws:
InoNetExceptionSrvErrorException
-
-