Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| KIE API 6.0.0.CR4
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.kie.api.builder.model
Interface KieModuleModel

    public interface KieModuleModel

KieModuleModel is a model allowing to programmatically define a KieModule

See Also:
  `KieModule`

Method Summary
`Map<String,KieBaseModel>` | `getKieBaseModels()` Returns all the KieBaseModel defined in this KieModuleModel mapped by their names
`KieBaseModel` | `newKieBaseModel(String name)` Creates a new KieBaseModel with the given name and adds it to this KieModuleModel
`void` | `removeKieBaseModel(String name)` Removes the KieBaseModel with the give name from this KieModuleModel
`String` | `toXML()` Provides an XML representation of this KieModuleModel

Method Detail

### newKieBaseModel

    KieBaseModel newKieBaseModel(String name)

  Creates a new KieBaseModel with the given name and adds it to this KieModuleModel

  Parameters:
    `name` - The name of the new KieBaseModel to be created
  Returns:
    The new KieBaseModel

### removeKieBaseModel

    void removeKieBaseModel(String name)

  Removes the KieBaseModel with the give name from this KieModuleModel

  Parameters:
    `name` - The name of the KieBaseModel to be removed

### getKieBaseModels

    Map<String,KieBaseModel> getKieBaseModels()

  Returns all the KieBaseModel defined in this KieModuleModel mapped by their names

### toXML

    String toXML()

  Provides an XML representation of this KieModuleModel

  Returns:

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| KIE API 6.0.0.CR4
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.