de.mid.innovator.srv2api.icw2model
Class MERequirementHelper

java.lang.Object
  extended by de.mid.innovator.srv2api.icw2model.MERequirementHelper

public abstract class MERequirementHelper
extends Object

This is a utility class for MERequirement that provides static methods for creation or other purposes.

See Also:
MERequirement

Method Summary
static MERequirement create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer)
          Create a new Requirement with template and container.
static MERequirement create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer)
          Create a new Requirement with stereotype and container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static MERequirement create(SrvContext srvCtx,
                                   MMCreateTemplate ohTemplate,
                                   ELContainerAble ohContainer)
                            throws InoNetException,
                                   SrvErrorException
Create a new Requirement with template and container.

Parameters:
srvCtx - The context of the related innovator server.
ohTemplate - Template for the new element
ohContainer - Container for the new element
Throws:
InoNetException
SrvErrorException

create

public static MERequirement create(SrvContext srvCtx,
                                   MMStereotype ohStereotype,
                                   ELContainerAble ohContainer)
                            throws InoNetException,
                                   SrvErrorException
Create a new Requirement with stereotype and container.

Parameters:
srvCtx - The context of the related innovator server.
ohStereotype - Stereotype for the new element
ohContainer - Container for the new element
Throws:
InoNetException
SrvErrorException