de.mid.innovator.srv2api.icw2er
Class BI2DimensionPrecedenceHelper

java.lang.Object
  extended by de.mid.innovator.srv2api.icw2er.BI2DimensionPrecedenceHelper

public abstract class BI2DimensionPrecedenceHelper
extends Object

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

See Also:
BI2DimensionPrecedence

Method Summary
static BI2DimensionPrecedence create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget)
          Create a new Dimension Precedence (OLAP 2) with template from source to target element.
static BI2DimensionPrecedence create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget)
          Create a new Dimension Precedence (OLAP 2) with stereotype from source to target element.
static BI2DimensionPrecedence createAndMaintain(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget)
          Create a new Dimension Precedence (OLAP 2) with template from source to target element.
static BI2DimensionPrecedence createAndMaintain(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget)
          Create a new Dimension Precedence (OLAP 2) 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 BI2DimensionPrecedence create(SrvContext srvCtx,
                                            MMCreateTemplate ohTemplate,
                                            ELContainerAble ohSource,
                                            ELElement ohTarget)
                                     throws InoNetException,
                                            SrvErrorException
Create a new Dimension Precedence (OLAP 2) 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 BI2DimensionPrecedence create(SrvContext srvCtx,
                                            MMStereotype ohStereotype,
                                            ELContainerAble ohSource,
                                            ELElement ohTarget)
                                     throws InoNetException,
                                            SrvErrorException
Create a new Dimension Precedence (OLAP 2) 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

createAndMaintain

public static BI2DimensionPrecedence createAndMaintain(SrvContext srvCtx,
                                                       MMCreateTemplate ohTemplate,
                                                       ELContainerAble ohSource,
                                                       ELElement ohTarget)
                                                throws InoNetException,
                                                       SrvErrorException
Create a new Dimension Precedence (OLAP 2) with template from source to target element. The created element is maintained.

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

createAndMaintain

public static BI2DimensionPrecedence createAndMaintain(SrvContext srvCtx,
                                                       MMStereotype ohStereotype,
                                                       ELContainerAble ohSource,
                                                       ELElement ohTarget)
                                                throws InoNetException,
                                                       SrvErrorException
Create a new Dimension Precedence (OLAP 2) with stereotype from source to target element. The created element is maintained.

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