Interface Instance

All Superinterfaces:
ActivityPubObject, Actor
All Known Implementing Classes:
InstanceDefault

public interface Instance extends Actor
  • Field Details

  • Method Details

    • getDomain

      @Deprecated URL getDomain()
      Deprecated.
      will be removed!
      Gives you the Domain behind the rdf-pub server is running. That is also the base namespace of all rdf objets.
      Returns:
      The Domain.
    • getCollectionInbox

      org.apache.commons.rdf.api.IRI getCollectionInbox()
      Returns:
      The IRI of the instance's inbox collection.
    • getCollectionOutbox

      org.apache.commons.rdf.api.IRI getCollectionOutbox()
      Returns:
      The IRI of the instance's outbox collection.
    • getCollectionPublic

      org.apache.commons.rdf.api.IRI getCollectionPublic()
      Returns:
      The IRI of the instance's public collection.
    • getAppVersion

      String getAppVersion()
      Returns:
      The application Version a.k.a Release Version. It's the maven version of the rdf-pub project.
    • getProfileVersion

      Long getProfileVersion()
      Returns:
      The Version of the profile. e.g. 1, but it's possible, that the profile changes in newer rdf-pub versions.
    • getIdentifier

      String getIdentifier()
      Returns:
      Unique identifier of this rdf-pub instance.
    • getPublicSparqlEndpoint

      org.apache.commons.rdf.api.IRI getPublicSparqlEndpoint()
      Returns:
      SPARQL Endpoint to query the public collection.
    • setType

      void setType(org.apache.commons.rdf.api.IRI id)
    • setInboxCollection

      void setInboxCollection(org.apache.commons.rdf.api.IRI inboxCollection)
    • setOutboxCollection

      void setOutboxCollection(org.apache.commons.rdf.api.IRI outboxCollection)
    • setPublicCollection

      void setPublicCollection(org.apache.commons.rdf.api.IRI publicCollection)
    • setInstanceVersion

      void setInstanceVersion(String mavenVersion)
    • setCommitId

      void setCommitId(String commitId)
    • setPublicSparqlEndpoint

      void setPublicSparqlEndpoint(org.apache.commons.rdf.api.IRI sparqlPublic)