Class DataSource

  • All Implemented Interfaces:
    IModuleObject

    public class DataSource
    extends BaseObjectType
    Data source model.
    Sample:
    {
      "property": [    PropertyType
      ],
      "schema": "Person",
      "catalog": "AdventureWorks2014",
      "name": "AdventureWorks2014.Person",
      "table": [    Table   ]
    }
    • Constructor Detail

      • DataSource

        public DataSource()
    • Method Detail

      • getSchema

        public String getSchema()
        Get name of the relational database schema.
        Returns:
        name of the relational database schema.
      • setSchema

        public void setSchema​(String schema)
        Set name of the relational database schema.
        Parameters:
        schema - name of the relational database schema.
      • getCatalog

        public String getCatalog()
        Get name of the relational database catalog.
        Returns:
        name of the relational database catalog.
      • setCatalog

        public void setCatalog​(String catalog)
        Set name of the relational database catalog.
        Parameters:
        catalog - name of the relational database catalog.
      • getName

        public String getName()
        Get name of the data source.
        Returns:
        name of the data source.
      • setName

        public void setName​(String name)
        Set name of the data source.
        Parameters:
        name - of the data source.
      • getTable

        public List<Table> getTable()
        Get list of tables of the data source schema.
        Returns:
        list of tables.
      • setTable

        public void setTable​(List<Table> tables)
        Set tables of the data source schema.
        Parameters:
        tables - list of tables.