com.clarkparsia.pellet.sparqldl.model
Class CoreImpl
java.lang.Object
com.clarkparsia.pellet.sparqldl.model.QueryAtomImpl
com.clarkparsia.pellet.sparqldl.model.CoreImpl
- All Implemented Interfaces:
- Core, QueryAtom
public class CoreImpl
- extends QueryAtomImpl
- implements Core
Title: Implementation of the Core of undistinguished variables.
Description:
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
- Author:
- Petr Kremen
Constructor Summary |
CoreImpl(java.util.List<aterm.ATermAppl> arguments,
java.util.Collection<aterm.ATermAppl> uv,
java.util.Collection<QueryAtom> atoms)
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
CoreImpl
public CoreImpl(java.util.List<aterm.ATermAppl> arguments,
java.util.Collection<aterm.ATermAppl> uv,
java.util.Collection<QueryAtom> atoms)
getConstants
public java.util.Collection<aterm.ATermAppl> getConstants()
- Specified by:
getConstants
in interface Core
getDistVars
public java.util.Collection<aterm.ATermAppl> getDistVars()
- Specified by:
getDistVars
in interface Core
getUndistVars
public java.util.Collection<aterm.ATermAppl> getUndistVars()
- Specified by:
getUndistVars
in interface Core
apply
public QueryAtom apply(ResultBinding binding)
- Description copied from class:
QueryAtomImpl
- Applies variable binding to the current atom and returns the result which
might be same as the current atom. Current atom is not affected.
- Specified by:
apply
in interface QueryAtom
- Overrides:
apply
in class QueryAtomImpl
- Parameters:
binding
- QueryBinding to apply
- Returns:
- a query atom with applied query binding
hashCode
public int hashCode()
- Overrides:
hashCode
in class QueryAtomImpl
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class QueryAtomImpl
Copyright © 2004 Evren Sirin. All Rights Reserved.