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.util.Map<java.lang.String,java.lang.String> parameters, int numberOfTables) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object that)java.lang.StringgetName()Returns the data source name.intgetNumberOfTables()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.inthashCode()
-
Constructor Details
-
DataSourceInfo
public DataSourceInfo(java.lang.String name, 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
-
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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object that)- Overrides:
equalsin classjava.lang.Object
-