com.ihr.xbrl.mapper

## Class DataSourceDef

- java.lang.Object
- - com.ihr.xbrl.mapper.DataSourceDef

-     public class DataSourceDef
      extends java.lang.Object

  The Class DataSourceDef.
  Author:
    Ignacio

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DataSourceDef(java.lang.Class<?> name, java.net.URI uri)` Instantiates a new data source def.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `XBRLDataSource` | `getSource()` Gets the source.

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

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

- - ### Constructor Detail

    - #### DataSourceDef

          public DataSourceDef(java.lang.Class<?> name,
                       java.net.URI uri)

      Instantiates a new data source def.
      Parameters:
        `name` - the name
        `uri` - the uri

  - ### Method Detail

    - #### getSource

          public XBRLDataSource getSource()
                                   throws MapConfigurationFileException

      Gets the source.
      Returns:
        the source
      Throws:
        `MapConfigurationFileException` - the map configuration file exception