Class CLGeneralizationHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2class.CLGeneralizationHelper
-
public abstract class CLGeneralizationHelper extends java.lang.Object
A generalization relates a specific classifier to a more general classifier and is owned by the specific classifier. Each instance of the specific classifier is also an indirect instance of the general classifier. This means that the specific classifier inherits the features of the more general classifier.- See Also:
CLGeneralization
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CLGeneralization
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget)
Create a new Generalization with template from source to target element.static CLGeneralization
create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget)
Create a new Generalization with stereotype from source to target element.
-
-
-
Method Detail
-
create
public static CLGeneralization create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException
Create a new Generalization with stereotype from source to target element.- Parameters:
srvCtx
- The context of the related innovator server.ohStereotype
- Stereotype for the new elementohSource
- Source for the new elementohTarget
- Target for the new element- Throws:
InoNetException
SrvErrorException
-
create
public static CLGeneralization create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException
Create a new Generalization with template from source to target element.- Parameters:
srvCtx
- The context of the related innovator server.ohTemplate
- Template for the new elementohSource
- Source for the new elementohTarget
- Target for the new element- Throws:
InoNetException
SrvErrorException
-
-