org.mindswap.pellet.query.impl
Class QueryPatternImpl

java.lang.Object
  extended by org.mindswap.pellet.query.impl.QueryPatternImpl
All Implemented Interfaces:
QueryPattern

public class QueryPatternImpl
extends java.lang.Object
implements QueryPattern

Author:
Evren Sirin

Constructor Summary
QueryPatternImpl(aterm.ATermAppl ind, aterm.ATermAppl c)
           
QueryPatternImpl(aterm.ATermAppl s, aterm.ATermAppl p, aterm.ATermAppl o)
           
 
Method Summary
 QueryPattern apply(QueryResultBinding binding)
           
 boolean equals(java.lang.Object other)
           
 aterm.ATermAppl getObject()
           
 aterm.ATermAppl getPredicate()
           
 aterm.ATermAppl getSubject()
           
 int hashCode()
           
 boolean isEdgePattern()
           
 boolean isGround()
           
 boolean isTypePattern()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryPatternImpl

public QueryPatternImpl(aterm.ATermAppl ind,
                        aterm.ATermAppl c)

QueryPatternImpl

public QueryPatternImpl(aterm.ATermAppl s,
                        aterm.ATermAppl p,
                        aterm.ATermAppl o)
Method Detail

isTypePattern

public boolean isTypePattern()
Specified by:
isTypePattern in interface QueryPattern

isEdgePattern

public boolean isEdgePattern()
Specified by:
isEdgePattern in interface QueryPattern

isGround

public boolean isGround()
Specified by:
isGround in interface QueryPattern

getSubject

public aterm.ATermAppl getSubject()
Specified by:
getSubject in interface QueryPattern

getPredicate

public aterm.ATermAppl getPredicate()
Specified by:
getPredicate in interface QueryPattern

getObject

public aterm.ATermAppl getObject()
Specified by:
getObject in interface QueryPattern

apply

public QueryPattern apply(QueryResultBinding binding)
Specified by:
apply in interface QueryPattern

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2007-2009 Natalya Keberle. All Rights Reserved.