Class DataSourceInfo

java.lang.Object
tech.oxfordsemantic.jrdfox.client.DataSourceInfo

public class DataSourceInfo
extends java.lang.Object
Encapsulates information about a data source.
  • Constructor Summary

    Constructors 
    Constructor Description
    DataSourceInfo​(java.lang.String name, java.lang.String typeName, java.util.Map<java.lang.String,​java.lang.String> parameters, int numberOfTables)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object that)  
    java.lang.String getName()
    Returns the data source name.
    int getNumberOfTables()
    Returns the number of data source tables in this data source.
    java.util.Map<java.lang.String,​java.lang.String> getParameters()
    Returns the parameters of the data source.
    java.lang.String getTypeName()
    Returns the type name of the data source.
    int hashCode()  

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DataSourceInfo

      public DataSourceInfo​(java.lang.String name, java.lang.String typeName, java.util.Map<java.lang.String,​java.lang.String> parameters, int numberOfTables)
  • Method Details

    • getName

      public java.lang.String getName()
      Returns the data source name.
      Returns:
      the data source name
    • getTypeName

      public java.lang.String getTypeName()
      Returns the type name of the data source.
      Returns:
      the type name of the data source
    • getParameters

      public java.util.Map<java.lang.String,​java.lang.String> getParameters()
      Returns the parameters of the data source.
      Returns:
      the parameters of the data source
    • getNumberOfTables

      public int getNumberOfTables()
      Returns the number of data source tables in this data source.
      Returns:
      the number of data source tables in this data source
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object that)
      Overrides:
      equals in class java.lang.Object