## Uses of Interface
org.kie.api.builder.model.KieBaseModel

- Packages that use KieBaseModel
  Package | Description
  --- | ---
  org.kie.api.builder.model |
  org.kie.api.runtime | The runtime engine classes, including KieSession and StatelessKieSession.

- - ### Uses of KieBaseModel in org.kie.api.builder.model

    Methods in org.kie.api.builder.model that return KieBaseModel
    Modifier and Type | Method | Description
    --- | --- | ---
    `KieBaseModel` | KieBaseModel.`addInclude​(String kBaseName)` | Includes the resources of the KieBase with the given name in this KieBaseModel
    `KieBaseModel` | KieBaseModel.`addPackage​(String pkg)` | Adds a package (pattern) to the list of the packages defining the set of resources that have to be included in the KieBase.
    `KieBaseModel` | KieBaseModel.`addRuleTemplate​(String dtable, String template, int row, int col)` | Defines a new RuleTemplateModel for this KieBaseModel
    `KieBaseModel` | KieSessionModel.`getKieBaseModel()` | Returns the KieBaseModel which this KieSessionModel belongs to
    `KieBaseModel` | KieModuleModel.`newKieBaseModel()` | Creates a new anonymous KieBaseModel and adds it to this KieModuleModel
    `KieBaseModel` | KieModuleModel.`newKieBaseModel​(String name)` | Creates a new KieBaseModel with the given name and adds it to this KieModuleModel
    `KieBaseModel` | KieBaseModel.`removeInclude​(String kBaseName)` | Remove the inclusion of the KieBase with the given name
    `KieBaseModel` | KieBaseModel.`removeKieSessionModel​(String qName)` | Removes the KieSessionModel with the give name from this KieBaseModel
    `KieBaseModel` | KieBaseModel.`removePackage​(String pkg)` | Removes a package (pattern) from the list of the packages defining the set of resources that have to be included in the KieBase.
    `KieBaseModel` | KieBaseModel.`setBetaRangeIndexOption​(BetaRangeIndexOption betaRangeIndexOption)` | Sets the BetaRangeIndexOption for this KieBaseModel Default is BetaRangeIndexOption.DISABLED
    `KieBaseModel` | KieBaseModel.`setDeclarativeAgenda​(DeclarativeAgendaOption declarativeAgenda)` | Sets the DeclarativeAgendaOption for this KieBaseModel Default is DeclarativeAgendaOption.DISABLED
    `KieBaseModel` | KieBaseModel.`setDefault​(boolean isDefault)` | Sets the KieBase generated from this KieBaseModel as the default one, i.e. the one that can be loaded from the KieContainer without having to pass its name.
    `KieBaseModel` | KieBaseModel.`setEqualsBehavior​(EqualityBehaviorOption equalsBehaviour)` | Sets the EqualityBehavior for this KieBaseModel.
    `KieBaseModel` | KieBaseModel.`setEventProcessingMode​(EventProcessingOption eventProcessingMode)` | Sets the EventProcessingOption for this KieBaseModel Default is EventProcessingOption.CLOUD
    `KieBaseModel` | KieBaseModel.`setMutability​(KieBaseMutabilityOption mutability)` | Sets the KieBaseMutabilityOption for this KieBaseModel.
    `KieBaseModel` | KieBaseModel.`setScope​(String scope)` | Sets the CDI scope for this KieBaseModel
    `KieBaseModel` | KieBaseModel.`setSequential​(SequentialOption sequential)` | Sets the SequentialOption for this KieBaseModel Default is SequentialOption.NO
    `KieBaseModel` | KieBaseModel.`setSessionsPool​(SessionsPoolOption sessionPool)` | Sets the SessionPoolOption used by the KieBase to create new sessions Default is SessionPoolOption.NO

    Methods in org.kie.api.builder.model that return types with arguments of type KieBaseModel
    Modifier and Type | Method | Description
    --- | --- | ---
    `Map<String,​KieBaseModel>` | KieModuleModel.`getKieBaseModels()` | Returns all the KieBaseModel defined in this KieModuleModel mapped by their names

  - ### Uses of KieBaseModel in org.kie.api.runtime

    Methods in org.kie.api.runtime that return KieBaseModel
    Modifier and Type | Method | Description
    --- | --- | ---
    `KieBaseModel` | KieContainer.`getKieBaseModel​(String kBaseName)` | Returns the KieBaseModel for the KieBase with the given name