ilog.rules.teamserver.model
Class IlrModelInfo
- java.lang.Object
-
- ilog.rules.teamserver.model.IlrModelInfo
-
public class IlrModelInfo extends java.lang.Object
Contains information on the Decision Center model.The Decision Center model classes are represented by EMF classes, split in 2 packages:
- The
brm
package, containing the core classes (BusinessRule, RulePackage, RuleProject, and so on) - The
extension
package, containing the extension classes.
- The
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.Integer
DEFAULT_LOB_SIZE
-
Method Summary
Methods Modifier and Type Method and Description ilog.rules.teamserver.admin.IlrAdminPackage
getAdminPackage()
Gets theadmin
package.IlrBrmPackage
getBrmPackage()
Gets thebrm
package.IlrDsmPackage
getDsmPackage()
Gets theds
package.org.eclipse.emf.ecore.ENamedElement
getElementFromFQN(java.lang.String fqn)
Gets the EMF named element corresponding to the given fully-qualified name.org.eclipse.emf.ecore.EPackage
getExtensionPackage()
Gets theextension
package.static java.lang.String
getFQN(org.eclipse.emf.ecore.ENamedElement namedElement)
Gets the fully-qualified name of the given element.java.util.List<org.eclipse.emf.ecore.EClass>
getRulePackageSubclasses()
IlrValidationPackage
getValidationPackage()
Gets thevalidation
package.boolean
isDecisionServiceGlobal(org.eclipse.emf.ecore.EClass eclass)
Decision Service model and Validation model classes will be handled as "Decision Service scope".
-
-
-
Method Detail
-
getExtensionPackage
public org.eclipse.emf.ecore.EPackage getExtensionPackage()
Gets theextension
package.- Returns:
- the
extension
package.
-
getBrmPackage
public IlrBrmPackage getBrmPackage()
Gets thebrm
package.- Returns:
- the
brm
package.
-
getDsmPackage
public IlrDsmPackage getDsmPackage()
Gets theds
package.- Returns:
- the
ds
package.
-
getValidationPackage
public IlrValidationPackage getValidationPackage()
Gets thevalidation
package.- Returns:
- the
validation
package.
-
getAdminPackage
public ilog.rules.teamserver.admin.IlrAdminPackage getAdminPackage()
Gets theadmin
package.- Returns:
- the
admin
package.
-
getFQN
public static java.lang.String getFQN(org.eclipse.emf.ecore.ENamedElement namedElement)
Gets the fully-qualified name of the given element.- Parameters:
namedElement
- A feature or a class- Returns:
- the fully-qualified name of the element.
-
getElementFromFQN
public org.eclipse.emf.ecore.ENamedElement getElementFromFQN(java.lang.String fqn)
Gets the EMF named element corresponding to the given fully-qualified name.This element is a feature or a class contained in the
brm
package or theextension
package.- Parameters:
fqn
- The fully-qualified name of the element to retrieve.- Returns:
- the corresponding element.
-
isDecisionServiceGlobal
public boolean isDecisionServiceGlobal(org.eclipse.emf.ecore.EClass eclass)
Decision Service model and Validation model classes will be handled as "Decision Service scope". When searching for one of those elements, the whole Decision Service will be searched.
-
getRulePackageSubclasses
public java.util.List<org.eclipse.emf.ecore.EClass> getRulePackageSubclasses()
-
-