Class CLInterfaceHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2class.CLInterfaceHelper
-
public abstract class CLInterfaceHelper extends java.lang.Object
An interface is a kind of classifier that represents a declaration of a set of coherent public features and obligations. An interface specifies a contract; any instance of a classifier that realizes the interface must fulfill that contract. The obligations that may be associated with an interface are in the form of various kinds of constraints (such as pre and post-conditions) or protocol specifications which may impose ordering restrictions on interactions via the interface. Interfaces are declarations, which means that they are not instantiable. Instead, an interface specification is implemented by an instance of an instantiable classifier; this means that the instantiable classifier presents a public facade that conforms to the interface specification. Note that a given classifier may implement more than one interface and that an interface may be implemented by a number of different classifiers.- See Also:
CLInterface
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CLInterface
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer)
Create a new Interface with template and container.static CLInterface
create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer)
Create a new Interface with stereotype and container.
-
-
-
Method Detail
-
create
public static CLInterface create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Interface 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:
InoNetException
SrvErrorException
-
create
public static CLInterface create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Interface 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:
InoNetException
SrvErrorException
-
-