Package de.mid.innovator.srv2api.icw2im
Class IMUniqueKeyFeatureHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2im.IMUniqueKeyFeatureHelper
-
public abstract class IMUniqueKeyFeatureHelper extends java.lang.Object
This is a utility class for IMUniqueKeyFeature that provides static methods for creation or other purposes.- See Also:
IMUniqueKeyFeature
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IMUniqueKeyFeature
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, ELElement ohRequirement)
Create a new Unique Key Feature with template and container with requirement.static IMUniqueKeyFeature
create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, ELElement ohRequirement)
Create a new Unique Key Feature with stereotype and container with requirement.static IMUniqueKeyFeature
createAndMaintain(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, ELElement ohRequirement)
Create a new Unique Key Feature with template and container with requirement.static IMUniqueKeyFeature
createAndMaintain(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, ELElement ohRequirement)
Create a new Unique Key Feature with stereotype and container with requirement.static java.util.List<IMUniqueKeyFeature>
createByER(SrvContext srvCtx, ELContainerAble ohDBElement, MENamedElement ohERElement)
This method creates an analogIMUniqueKeyFeature
for the given ER element in the givenDBUniqueKey
(DB element).
-
-
-
Method Detail
-
createByER
public static java.util.List<IMUniqueKeyFeature> createByER(SrvContext srvCtx, ELContainerAble ohDBElement, MENamedElement ohERElement) throws InoNetException, SrvErrorException
This method creates an analogIMUniqueKeyFeature
for the given ER element in the givenDBUniqueKey
(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:
InoNetException
SrvErrorException
-
create
public static IMUniqueKeyFeature create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, ELElement ohRequirement) throws InoNetException, SrvErrorException
Create a new Unique Key Feature with stereotype and container with requirement.- Parameters:
srvCtx
- The context of the related innovator server.ohStereotype
- Stereotype for the new elementohContainer
- Container for the new elementohRequirement
- Additional required element- Throws:
InoNetException
SrvErrorException
-
create
public static IMUniqueKeyFeature create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, ELElement ohRequirement) throws InoNetException, SrvErrorException
Create a new Unique Key Feature with template and container with requirement.- Parameters:
srvCtx
- The context of the related innovator server.ohTemplate
- Template for the new elementohContainer
- Container for the new elementohRequirement
- Additional required element- Throws:
InoNetException
SrvErrorException
-
createAndMaintain
public static IMUniqueKeyFeature createAndMaintain(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, ELElement ohRequirement) throws InoNetException, SrvErrorException
Create a new Unique Key Feature with stereotype and container with requirement. The created element is maintained.- Parameters:
srvCtx
- The context of the related innovator server.ohStereotype
- Stereotype for the new elementohContainer
- Container for the new elementohRequirement
- Additional required element- Throws:
InoNetException
SrvErrorException
-
createAndMaintain
public static IMUniqueKeyFeature createAndMaintain(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, ELElement ohRequirement) throws InoNetException, SrvErrorException
Create a new Unique Key Feature with template and container with requirement. The created element is maintained.- Parameters:
srvCtx
- The context of the related innovator server.ohTemplate
- Template for the new elementohContainer
- Container for the new elementohRequirement
- Additional required element- Throws:
InoNetException
SrvErrorException
-
-