Package de.mid.innovator.srv2api.icw2er
Class BIHierarchyRoleHelper
java.lang.Object
de.mid.innovator.srv2api.icw2er.BIHierarchyRoleHelper
Deprecated: Use the BI2 classes for the 2nd generation procedure.
A
BIHierarchyRole is a specialization of a ERRelationship.
It should be used to connect a fact entity with a dimension entity. This hierarchy role can be
assigned to a BIHierarchy to declare the dimension deepness within the fact cube.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic BIHierarchyRolecreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) Create a new Role (in OLAP Hierarchy) with template from source to target element.static BIHierarchyRolecreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) Create a new Role (in OLAP Hierarchy) with stereotype from source to target element.static BIHierarchyRolecreateAndMaintain(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) Create a new Role (in OLAP Hierarchy) with template from source to target element.static BIHierarchyRolecreateAndMaintain(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) Create a new Role (in OLAP Hierarchy) with stereotype from source to target element.
-
Method Details
-
create
public static BIHierarchyRole create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException Create a new Role (in OLAP Hierarchy) 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:
InoNetExceptionSrvErrorException
-
create
public static BIHierarchyRole create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException Create a new Role (in OLAP Hierarchy) 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:
InoNetExceptionSrvErrorException
-
createAndMaintain
public static BIHierarchyRole createAndMaintain(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException Create a new Role (in OLAP Hierarchy) 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 elementohSource- Source for the new elementohTarget- Target for the new element- Throws:
InoNetExceptionSrvErrorException
-
createAndMaintain
public static BIHierarchyRole createAndMaintain(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException Create a new Role (in OLAP Hierarchy) 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 elementohSource- Source for the new elementohTarget- Target for the new element- Throws:
InoNetExceptionSrvErrorException
-