Class DatabaseSelection

java.lang.Object
org.neo4j.ogm.config.DatabaseSelection

public final class DatabaseSelection extends Object
  • Method Details

    • homeDatabase

      public static DatabaseSelection homeDatabase()
      Returns:
      A database selection that will just point towards the home database.
    • select

      public static DatabaseSelection select(String value)
      Parameters:
      value - The name of the database to select.
      Returns:
      A database selection representing the target database.
    • getValue

      public String getValue()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object