org.mindswap.pellet.query.impl
Class QueryPatternImpl
java.lang.Object
org.mindswap.pellet.query.impl.QueryPatternImpl
- All Implemented Interfaces:
- QueryPattern
public class QueryPatternImpl
- extends java.lang.Object
- implements QueryPattern
- Author:
- Evren Sirin
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
QueryPatternImpl
public QueryPatternImpl(aterm.ATermAppl ind,
aterm.ATermAppl c)
QueryPatternImpl
public QueryPatternImpl(aterm.ATermAppl s,
aterm.ATermAppl p,
aterm.ATermAppl o)
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.