Class CLComponentHelper
java.lang.Object
de.mid.innovator.srv2api.icw2class.CLComponentHelper
A component represents a modular part of a system that encapsulates its contents and whose manifestation is replaceable within its environment.
A component is a subtype of class which provides for a component having attributes and operations, and being able to participate in associations and generalizations. A component may form the abstraction for a set of classifiers that realize its behavior. In addition, a component may optionally have an internal structure and own a set of ports that formalize its interaction points.
A component has a number of provided and required interfaces that form the basis for wiring components together.
A component is modeled throughout the development life cycle and successively refined into deployment and run-time. A component may be manifest by one or more artifacts.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic CLComponentcreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) Create a new Component with template and container.static CLComponentcreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) Create a new Component with stereotype and container.
-
Method Details
-
create
public static CLComponent create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException Create a new Component 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 CLComponent create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException Create a new Component 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
-