|
||||||||||
| 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 QueryAtombinding - QueryBinding to apply
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.util.Set<aterm.ATermAppl> getConstants()
getConstants in interface Corepublic java.util.Set<aterm.ATermAppl> getDistVars()
getDistVars in interface Corepublic java.util.Set<aterm.ATermAppl> getUndistVars()
getUndistVars in interface Corepublic java.util.List<aterm.ATermAppl> getArguments()
QueryAtom
getArguments in interface QueryAtompublic QueryPredicate getPredicate()
QueryAtom
getPredicate in interface QueryAtompublic Query getQuery()
public boolean isGround()
isGround in interface QueryAtompublic 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 | |||||||||