Class BaseForFederationMember
java.lang.Object
se.liu.ida.hefquin.federation.members.impl.BaseForFederationMember
- All Implemented Interfaces:
FederationMember
- Direct Known Subclasses:
BaseForRDFBasedFederationMember,GraphQLEndpointImpl,Neo4jServerImpl,RESTEndpointImpl
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 Summary
FieldsModifier and TypeFieldDescriptionprotected final AuthenticationInformationprotected final intprotected final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseForFederationMember(org.apache.jena.graph.Node serviceURI, AuthenticationInformation authInfo) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the authentication information of this federation member ornullif 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).intgetID()Returns an identifier of this federation member, which should be unique (independent of the type of federation member).Returns the (unique) service URI of this federation member.Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface se.liu.ida.hefquin.federation.FederationMember
isSupportedPattern, supportsMoreThanTriplePatterns
-
Field Details
-
id
protected final int id -
serviceURI
-
authInfo
-
-
Constructor Details
-
BaseForFederationMember
protected BaseForFederationMember(org.apache.jena.graph.Node serviceURI, AuthenticationInformation authInfo)
-
-
Method Details
-
getID
public int getID()Description copied from interface:FederationMemberReturns an identifier of this federation member, which should be unique (independent of the type of federation member).- Specified by:
getIDin interfaceFederationMember
-
getServiceURI
Description copied from interface:FederationMemberReturns 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:
getServiceURIin interfaceFederationMember
-
getAuthenticationInformation
Description copied from interface:FederationMemberReturns the authentication information of this federation member ornullif 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:
getAuthenticationInformationin interfaceFederationMember
-
equals
-