Class MECommentHelper
java.lang.Object
de.mid.innovator.srv2api.icw2model.MECommentHelper
A comment gives the ability to attach various remarks to elements. A comment carries no semantic force but may contain information that is useful to a modeler. A comment can be owned by any element.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic MECommentcreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) Create a new Comment with template and container.static MECommentcreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) Create a new Comment with stereotype and container.
-
Method Details
-
create
public static MEComment create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException Create a new Comment 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 MEComment create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException Create a new Comment 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
-