|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.clarkparsia.pellet.sparqldl.model.CoreNewImpl
public class CoreNewImpl
Title: Implementation of the Core of undistinguished variables.
Description:
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
Constructor Summary | |
---|---|
CoreNewImpl(java.util.Collection<QueryAtom> atoms,
java.util.Collection<aterm.ATermAppl> uv,
KnowledgeBase kb)
|
Method Summary | |
---|---|
CoreNewImpl |
apply(ResultBinding binding)
Applies variable binding to the current atom and returns the result which might be same as the current atom. |
boolean |
equals(java.lang.Object obj)
|
java.util.List<aterm.ATermAppl> |
getArguments()
Returns arguments of the atom. |
java.util.Set<aterm.ATermAppl> |
getConstants()
|
java.util.Set<aterm.ATermAppl> |
getDistVars()
|
QueryPredicate |
getPredicate()
Returns predicate of the query atom. |
Query |
getQuery()
|
java.util.Set<aterm.ATermAppl> |
getUndistVars()
|
int |
hashCode()
|
boolean |
isGround()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CoreNewImpl(java.util.Collection<QueryAtom> atoms, java.util.Collection<aterm.ATermAppl> uv, KnowledgeBase kb)
Method Detail |
---|
public CoreNewImpl apply(ResultBinding binding)
apply
in interface QueryAtom
binding
- QueryBinding to apply
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.util.Set<aterm.ATermAppl> getConstants()
getConstants
in interface Core
public java.util.Set<aterm.ATermAppl> getDistVars()
getDistVars
in interface Core
public java.util.Set<aterm.ATermAppl> getUndistVars()
getUndistVars
in interface Core
public java.util.List<aterm.ATermAppl> getArguments()
QueryAtom
getArguments
in interface QueryAtom
public QueryPredicate getPredicate()
QueryAtom
getPredicate
in interface QueryAtom
public Query getQuery()
public boolean isGround()
isGround
in interface QueryAtom
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |