de.mid.innovator.srv2api.icw2br
Class BROrgUnitPersonRelHelper

java.lang.Object
  extended by de.mid.innovator.srv2api.icw2br.BROrgUnitPersonRelHelper

public abstract class BROrgUnitPersonRelHelper
extends Object

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

See Also:
BROrgUnitPersonRel

Method Summary
static BROrgUnitPersonRel create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget)
          Create a new Person Assignment with template from source to target element.
static BROrgUnitPersonRel create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget)
          Create a new Person Assignment 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 BROrgUnitPersonRel create(SrvContext srvCtx,
                                        MMCreateTemplate ohTemplate,
                                        ELContainerAble ohSource,
                                        ELElement ohTarget)
                                 throws InoNetException,
                                        SrvErrorException
Create a new Person Assignment 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 BROrgUnitPersonRel create(SrvContext srvCtx,
                                        MMStereotype ohStereotype,
                                        ELContainerAble ohSource,
                                        ELElement ohTarget)
                                 throws InoNetException,
                                        SrvErrorException
Create a new Person Assignment 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