Package de.mid.innovator.srv2api.icw2er
Class ERForeignKeyHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2er.ERForeignKeyHelper
-
public abstract class ERForeignKeyHelper extends java.lang.ObjectAERForeignKeyis a collection of attributes of itsEREntity. The foreign key normally implements a relationship by referencing anERUniqueKey.- See Also:
ERForeignKey
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ERForeignKeycreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, ELElement ohRequirement)Create a new Foreign Key (of Entity) with template and container with requirement.static ERForeignKeycreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, ELElement ohRequirement)Create a new Foreign Key (of Entity) with stereotype and container with requirement.
Innovator comfort: after creating the foreign key, the maintain method will be executed.static ERForeignKeycreateAndMaintain(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, ELElement ohRequirement)Create a new Foreign Key (of Entity) with template and container with requirement.static ERForeignKeycreateAndMaintain(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, ELElement ohRequirement)Create a new Foreign Key (of Entity) with stereotype and container with requirement.
-
-
-
Method Detail
-
create
public static ERForeignKey create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, ELElement ohRequirement) throws InoNetException, SrvErrorException
Create a new Foreign Key (of Entity) with stereotype and container with requirement.
Innovator comfort: after creating the foreign key, the maintain method will be executed. To avoid this, use the NewRaw variant of this method.- Parameters:
srvCtx- The context of the related innovator server.ohStereotype- Stereotype for the new elementohContainer- Container for the new elementohRequirement- Additional required element- Throws:
InoNetExceptionSrvErrorException
-
create
public static ERForeignKey create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, ELElement ohRequirement) throws InoNetException, SrvErrorException
Create a new Foreign Key (of Entity) 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:
InoNetExceptionSrvErrorException
-
createAndMaintain
public static ERForeignKey createAndMaintain(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, ELElement ohRequirement) throws InoNetException, SrvErrorException
Create a new Foreign Key (of Entity) 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:
InoNetExceptionSrvErrorException
-
createAndMaintain
public static ERForeignKey createAndMaintain(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, ELElement ohRequirement) throws InoNetException, SrvErrorException
Create a new Foreign Key (of Entity) 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:
InoNetExceptionSrvErrorException
-
-