Package de.mid.innovator.srv2api.icw2er
Class ERUniqueKeyHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2er.ERUniqueKeyHelper
-
public abstract class ERUniqueKeyHelper extends java.lang.ObjectAnERUniqueKeyis a collection of attributes of itsERAttributeSet. The values of this collection are unique for one instance of the attributes set. If these values cannot change within the lifetime of the instance, the unique key is called a key candidate. One key candidate can be choosen as primary key for identifying the instance by default.- See Also:
ERUniqueKey
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ERUniqueKeycreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer)Create a new Unique Key with template and container.static ERUniqueKeycreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer)Create a new Unique Key with stereotype and container.static ERUniqueKeycreateAndMaintain(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer)Create a new Unique Key with template and container.static ERUniqueKeycreateAndMaintain(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer)Create a new Unique Key with stereotype and container.
-
-
-
Method Detail
-
create
public static ERUniqueKey create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Unique Key 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:
InoNetExceptionSrvErrorException
-
create
public static ERUniqueKey create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Unique Key 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:
InoNetExceptionSrvErrorException
-
createAndMaintain
public static ERUniqueKey createAndMaintain(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Unique Key with stereotype and container. The created element is maintained.- Parameters:
srvCtx- The context of the related innovator server.ohStereotype- Stereotype for the new elementohContainer- Container for the new element- Throws:
InoNetExceptionSrvErrorException
-
createAndMaintain
public static ERUniqueKey createAndMaintain(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Unique Key with template and container. The created element is maintained.- Parameters:
srvCtx- The context of the related innovator server.ohTemplate- Template for the new elementohContainer- Container for the new element- Throws:
InoNetExceptionSrvErrorException
-
-