Class BaseKey

    • Method Detail

      • getProjectId

        public String getProjectId()
        Returns the key's projectId.
      • getNamespace

        public String getNamespace()
        Returns the key's namespace or null if not provided.
      • getDatabaseId

        @BetaApi
        public String getDatabaseId()
      • getAncestors

        public List<PathElement> getAncestors()
        Returns an immutable list with the key's ancestors.
      • getKind

        public String getKind()
        Returns the key's kind.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object