Protégé-OWL 3.4

edu.stanford.smi.protegex.owl.swrl.bridge.builtins.sqwrl
Class SWRLBuiltInLibraryImpl

java.lang.Object
  extended by edu.stanford.smi.protegex.owl.swrl.bridge.builtins.AbstractSWRLBuiltInLibrary
      extended by edu.stanford.smi.protegex.owl.swrl.bridge.builtins.sqwrl.SWRLBuiltInLibraryImpl
All Implemented Interfaces:
SWRLBuiltInLibrary

public class SWRLBuiltInLibraryImpl
extends AbstractSWRLBuiltInLibrary

Implementation library for SQWRL query built-ins. See here for documentation on this built-in library.


Constructor Summary
SWRLBuiltInLibraryImpl()
           
 
Method Summary
 boolean avg(List<BuiltInArgument> arguments)
           
 boolean columnNames(List<BuiltInArgument> arguments)
           
 boolean contains(List<BuiltInArgument> arguments)
           
 boolean count(List<BuiltInArgument> arguments)
           
 boolean countDistinct(List<BuiltInArgument> arguments)
           
 boolean except(List<BuiltInArgument> arguments)
           
 boolean first(List<BuiltInArgument> arguments)
           
 boolean intersect(List<BuiltInArgument> arguments)
           
 boolean isEmpty(List<BuiltInArgument> arguments)
           
 boolean last(List<BuiltInArgument> arguments)
           
 boolean makeList(List<BuiltInArgument> arguments)
           
 boolean makeSet(List<BuiltInArgument> arguments)
           
 boolean makeSortedSet(List<BuiltInArgument> arguments)
           
 boolean max(List<BuiltInArgument> arguments)
           
 boolean min(List<BuiltInArgument> arguments)
           
 boolean nth(List<BuiltInArgument> arguments)
           
 boolean orderBy(List<BuiltInArgument> arguments)
           
 boolean orderByDescending(List<BuiltInArgument> arguments)
           
 void reset()
           
 boolean select(List<BuiltInArgument> arguments)
           
 boolean selectDistinct(List<BuiltInArgument> arguments)
           
 boolean size(List<BuiltInArgument> arguments)
           
 boolean sum(List<BuiltInArgument> arguments)
           
 boolean union(List<BuiltInArgument> arguments)
           
 
Methods inherited from class edu.stanford.smi.protegex.owl.swrl.bridge.builtins.AbstractSWRLBuiltInLibrary
getInvokingBridge, getInvokingBuiltInIndex, getInvokingRuleName, getIsInConsequent, getLibraryName, invokeBuiltInMethod, invokeResetMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWRLBuiltInLibraryImpl

public SWRLBuiltInLibraryImpl()
Method Detail

reset

public void reset()
Specified by:
reset in interface SWRLBuiltInLibrary
Specified by:
reset in class AbstractSWRLBuiltInLibrary

select

public boolean select(List<BuiltInArgument> arguments)
               throws BuiltInException
Throws:
BuiltInException

selectDistinct

public boolean selectDistinct(List<BuiltInArgument> arguments)
                       throws BuiltInException
Throws:
BuiltInException

count

public boolean count(List<BuiltInArgument> arguments)
              throws BuiltInException
Throws:
BuiltInException

countDistinct

public boolean countDistinct(List<BuiltInArgument> arguments)
                      throws BuiltInException
Throws:
BuiltInException

min

public boolean min(List<BuiltInArgument> arguments)
            throws BuiltInException
Throws:
BuiltInException

max

public boolean max(List<BuiltInArgument> arguments)
            throws BuiltInException
Throws:
BuiltInException

sum

public boolean sum(List<BuiltInArgument> arguments)
            throws BuiltInException
Throws:
BuiltInException

avg

public boolean avg(List<BuiltInArgument> arguments)
            throws BuiltInException
Throws:
BuiltInException

columnNames

public boolean columnNames(List<BuiltInArgument> arguments)
                    throws BuiltInException
Throws:
BuiltInException

orderBy

public boolean orderBy(List<BuiltInArgument> arguments)
                throws BuiltInException
Throws:
BuiltInException

orderByDescending

public boolean orderByDescending(List<BuiltInArgument> arguments)
                          throws BuiltInException
Throws:
BuiltInException

makeSet

public boolean makeSet(List<BuiltInArgument> arguments)
                throws BuiltInException
Throws:
BuiltInException

makeList

public boolean makeList(List<BuiltInArgument> arguments)
                 throws BuiltInException
Throws:
BuiltInException

makeSortedSet

public boolean makeSortedSet(List<BuiltInArgument> arguments)
                      throws BuiltInException
Throws:
BuiltInException

isEmpty

public boolean isEmpty(List<BuiltInArgument> arguments)
                throws BuiltInException
Throws:
BuiltInException

size

public boolean size(List<BuiltInArgument> arguments)
             throws BuiltInException
Throws:
BuiltInException

intersect

public boolean intersect(List<BuiltInArgument> arguments)
                  throws BuiltInException
Throws:
BuiltInException

union

public boolean union(List<BuiltInArgument> arguments)
              throws BuiltInException
Throws:
BuiltInException

contains

public boolean contains(List<BuiltInArgument> arguments)
                 throws BuiltInException
Throws:
BuiltInException

except

public boolean except(List<BuiltInArgument> arguments)
               throws BuiltInException
Throws:
BuiltInException

nth

public boolean nth(List<BuiltInArgument> arguments)
            throws BuiltInException
Throws:
BuiltInException

first

public boolean first(List<BuiltInArgument> arguments)
              throws BuiltInException
Throws:
BuiltInException

last

public boolean last(List<BuiltInArgument> arguments)
             throws BuiltInException
Throws:
BuiltInException

Protégé-OWL 3.4

Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.