Interface QuadLike<G extends RDFTerm>

All Superinterfaces:
TripleLike
All Known Subinterfaces:
JsonLdQuad, JsonLdQuadLike<G>, Quad, RDF4JQuad
All Known Implementing Classes:
JsonLdQuadImpl, JsonLdQuadLikeImpl, JsonLdTripleImpl, QuadImpl, QuadImpl

public interface QuadLike<G extends RDFTerm> extends TripleLike
A generalised "quad-like" interface, extended by Quad.

A QuadLike statement has at least a TripleLike.getSubject(), TripleLike.getPredicate(), TripleLike.getObject() and getGraphName(), but unlike a Quad does not have a formalised Quad.equals(Object) or Quad.hashCode() semantics and is not required to be immutable or thread-safe. This interface can also be used for generalised quads (e.g. a BlankNode as predicate).

Implementations should specialise which specific RDFTerm types they return by overriding TripleLike.getSubject(), TripleLike.getPredicate(), TripleLike.getObject() and getGraphName().

Since:
0.3.0-incubating
See Also: