org.ontoware.rdf2go.model.impl
Class QuadPatternImpl

java.lang.Object
  extended by org.ontoware.rdf2go.model.impl.TriplePatternImpl
      extended by org.ontoware.rdf2go.model.impl.QuadPatternImpl
All Implemented Interfaces:
QuadPattern, TriplePattern

public class QuadPatternImpl
extends TriplePatternImpl
implements QuadPattern

A statement with variables

Author:
voelkel

Nested Class Summary
 
Nested classes/interfaces inherited from class org.ontoware.rdf2go.model.impl.TriplePatternImpl
TriplePatternImpl.SPO
 
Field Summary
 
Fields inherited from class org.ontoware.rdf2go.model.impl.TriplePatternImpl
extract
 
Constructor Summary
QuadPatternImpl(UriOrVariable context, ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 UriOrVariable getContext()
           
 int hashCode()
           
 boolean matches(Statement statement)
           
 
Methods inherited from class org.ontoware.rdf2go.model.impl.TriplePatternImpl
createObjectPattern, createSubjectPattern, getExtract, getObject, getPredicate, getSubject
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ontoware.rdf2go.model.TriplePattern
getObject, getPredicate, getSubject
 

Constructor Detail

QuadPatternImpl

public QuadPatternImpl(UriOrVariable context,
                       ResourceOrVariable subject,
                       UriOrVariable predicate,
                       NodeOrVariable object)
Method Detail

getContext

public UriOrVariable getContext()
Specified by:
getContext in interface QuadPattern

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class TriplePatternImpl

hashCode

public int hashCode()
Overrides:
hashCode in class TriplePatternImpl

matches

public boolean matches(Statement statement)
Specified by:
matches in interface TriplePattern
Overrides:
matches in class TriplePatternImpl


Copyright © 2005-2008 FZI - Forschungszentrum Informatik | Karlsruhe | Germany. All Rights Reserved.