de.mid.innovator.srv2api.icw2class
Class CLExtendHelper

java.lang.Object
  extended by de.mid.innovator.srv2api.icw2class.CLExtendHelper

public abstract class CLExtendHelper
extends Object

A relationship from an extending use case to an extended use case that specifies how and when the behavior defined in the extending use case can be inserted into the behavior defined in the extended use case.

See Also:
CLExtend

Method Summary
static CLExtend create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget)
          Create a new Extend Relationship with template from source to target element.
static CLExtend create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget)
          Create a new Extend Relationship with stereotype from source to target element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static CLExtend create(SrvContext srvCtx,
                              MMCreateTemplate ohTemplate,
                              ELContainerAble ohSource,
                              ELElement ohTarget)
                       throws InoNetException,
                              SrvErrorException
Create a new Extend Relationship with template from source to target element.

Parameters:
srvCtx - The context of the related innovator server.
ohTemplate - Template for the new element
ohSource - Source for the new element
ohTarget - Target for the new element
Throws:
InoNetException
SrvErrorException

create

public static CLExtend create(SrvContext srvCtx,
                              MMStereotype ohStereotype,
                              ELContainerAble ohSource,
                              ELElement ohTarget)
                       throws InoNetException,
                              SrvErrorException
Create a new Extend Relationship with stereotype from source to target element.

Parameters:
srvCtx - The context of the related innovator server.
ohStereotype - Stereotype for the new element
ohSource - Source for the new element
ohTarget - Target for the new element
Throws:
InoNetException
SrvErrorException