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 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.int
hashCode()
-
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:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object that)- Overrides:
equals
in classjava.lang.Object
-