Package in.cdac.medinfo.csnotk.csnolib.agents

## Class ClosureBuilderAgent

- java.lang.Object
- - in.cdac.medinfo.csnotk.csnolib.agents.ClosureBuilderAgent

-     public class ClosureBuilderAgent
      extends java.lang.Object

  Creates transitive closure table from relationship file.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ClosureBuilderAgent()` | Default constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `buildClosureTable​(boolean forExtensionDb)` | Implementation to build transitive closure table during DB creation.
    `void` | `setrelFile​(java.lang.String relFile)` | Sets the relationship file path in ClosureBuilderAgent.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ClosureBuilderAgent

          public ClosureBuilderAgent()

      Default constructor.

  - ### Method Detail

    - #### setrelFile

          public void setrelFile​(java.lang.String relFile)

      Sets the relationship file path in ClosureBuilderAgent.
      Parameters:
        `relFile` - path of the relationship file.

    - #### buildClosureTable

          public void buildClosureTable​(boolean forExtensionDb)
                                 throws java.lang.Exception

      Implementation to build transitive closure table during DB creation.
      Parameters:
        `forExtensionDb` - boolean value indicating closure table is being built for Extension
      Throws:
        `java.lang.Exception` - in any error occurs.