Class DataStoreInfo
java.lang.Object
tech.oxfordsemantic.jrdfox.client.DataStoreInfo
public class DataStoreInfo
extends java.lang.Object
Encapsulates information about a data store.
-
Constructor Summary
Constructors Constructor Description DataStoreInfo(java.lang.String name, java.lang.String uniqueID, boolean persistent, boolean online, java.util.Map<java.lang.String,java.lang.String> parameters) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object that)java.lang.StringgetName()Returns the data store name.java.util.Map<java.lang.String,java.lang.String>getParameters()Returns the parameters of the data store.java.lang.StringgetUniqueID()Returns the data store unique ID.inthashCode()booleanisOnline()Returnstrueif the data store is online.booleanisPersistent()Returnstrueif the data store is persistent.
-
Constructor Details
-
DataStoreInfo
public DataStoreInfo(java.lang.String name, java.lang.String uniqueID, boolean persistent, boolean online, java.util.Map<java.lang.String,java.lang.String> parameters)
-
-
Method Details
-
getName
public java.lang.String getName()Returns the data store name.- Returns:
- the data store name
-
getUniqueID
public java.lang.String getUniqueID()Returns the data store unique ID.- Returns:
- the data store unique ID
-
isPersistent
public boolean isPersistent()Returnstrueif the data store is persistent.- Returns:
trueif the data store is persistent.
-
isOnline
public boolean isOnline()Returnstrueif the data store is online.- Returns:
trueif the data store is online.
-
getParameters
public java.util.Map<java.lang.String,java.lang.String> getParameters()Returns the parameters of the data store.- Returns:
- the parameters of the data store
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object that)- Overrides:
equalsin classjava.lang.Object
-