Class BaseForFederationMember

java.lang.Object
se.liu.ida.hefquin.federation.members.impl.BaseForFederationMember
All Implemented Interfaces:
FederationMember
Direct Known Subclasses:
BaseForRDFBasedFederationMember, GraphQLEndpointImpl, Neo4jServerImpl, RESTEndpointImpl

public abstract class BaseForFederationMember extends Object implements FederationMember
This is an abstract base class for classes that implement concrete specializations (sub-interfaces) of the FederationMember interface. This base class handles the creation of a unique ID per federation member.
  • Field Details

  • Constructor Details

    • BaseForFederationMember

      protected BaseForFederationMember(org.apache.jena.graph.Node serviceURI, AuthenticationInformation authInfo)
  • Method Details

    • getID

      public int getID()
      Description copied from interface: FederationMember
      Returns an identifier of this federation member, which should be unique (independent of the type of federation member).
      Specified by:
      getID in interface FederationMember
    • getServiceURI

      public String getServiceURI()
      Description copied from interface: FederationMember
      Returns the (unique) service URI of this federation member. The service URI is the URI via which the federation member is referred to in the SERVICE clauses.
      Specified by:
      getServiceURI in interface FederationMember
    • getAuthenticationInformation

      public AuthenticationInformation getAuthenticationInformation()
      Description copied from interface: FederationMember
      Returns the authentication information of this federation member or null if there is no authentication information for this federation member (in which case it can be assumed that this federation member can be accessed without authentication).
      Specified by:
      getAuthenticationInformation in interface FederationMember
    • equals

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