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
    boolean equals​(java.lang.Object that)  
    java.lang.String getName()
    Returns the data store name.
    java.util.Map<java.lang.String,​java.lang.String> getParameters()
    Returns the parameters of the data store.
    java.lang.String getUniqueID()
    Returns the data store unique ID.
    int hashCode()  
    boolean isOnline()
    Returns true if the data store is online.
    boolean isPersistent()
    Returns true if the data store is persistent.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait
  • 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()
      Returns true if the data store is persistent.
      Returns:
      true if the data store is persistent.
    • isOnline

      public boolean isOnline()
      Returns true if the data store is online.
      Returns:
      true if 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:
      hashCode in class java.lang.Object
    • equals

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