Class CLSlotHelper
java.lang.Object
de.mid.innovator.srv2api.icw2class.CLSlotHelper
A slot specifies that an entity modeled by an instance specification has a value or values for a specific structural feature.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic CLSlotcreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, ELElement ohRequirement) Create a new Slot with template and container with requirement.static CLSlotcreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, ELElement ohRequirement) Create a new Slot with stereotype and container with requirement.static CLSlotcreateAndMaintain(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, ELElement ohRequirement) Create a new Slot with template and container with requirement.static CLSlotcreateAndMaintain(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, ELElement ohRequirement) Create a new Slot with stereotype and container with requirement.
-
Method Details
-
create
public static CLSlot create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, ELElement ohRequirement) throws InoNetException, SrvErrorException Create a new Slot 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:
InoNetExceptionSrvErrorException
-
create
public static CLSlot create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, ELElement ohRequirement) throws InoNetException, SrvErrorException Create a new Slot 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 CLSlot createAndMaintain(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, ELElement ohRequirement) throws InoNetException, SrvErrorException Create a new Slot 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 CLSlot createAndMaintain(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, ELElement ohRequirement) throws InoNetException, SrvErrorException Create a new Slot 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
-