Class MEMappingDependencyHelper
java.lang.Object
de.mid.innovator.srv2api.icw2model.MEMappingDependencyHelper
Mapping dependendcy is a subclass of
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.
MEDependency. 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:
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 Details
-
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
-