Protégé-OWL 3.4.8

edu.stanford.smi.protegex.owl.swrl.bridge.impl
Class MultiArgumentImpl

java.lang.Object
  extended by edu.stanford.smi.protegex.owl.swrl.bridge.impl.ArgumentImpl
      extended by edu.stanford.smi.protegex.owl.swrl.bridge.impl.BuiltInArgumentImpl
          extended by edu.stanford.smi.protegex.owl.swrl.bridge.impl.MultiArgumentImpl
All Implemented Interfaces:
Argument, BuiltInArgument, MultiArgument, Comparable<BuiltInArgument>

public class MultiArgumentImpl
extends BuiltInArgumentImpl
implements MultiArgument

A class used to bind multiple arguments to a built-in argument


Constructor Summary
MultiArgumentImpl()
           
MultiArgumentImpl(List<BuiltInArgument> arguments)
           
 
Method Summary
 void addArgument(BuiltInArgument argument)
           
 int compareTo(BuiltInArgument argument)
           
 List<BuiltInArgument> getArguments()
           
 int getNumberOfArguments()
           
 boolean hasNoArguments()
           
 void setArguments(List<BuiltInArgument> arguments)
           
 void setVariableName(String variableName)
           
 
Methods inherited from class edu.stanford.smi.protegex.owl.swrl.bridge.impl.BuiltInArgumentImpl
equals, getBuiltInMultiArgumentResult, getBuiltInResult, hasBuiltInMultiArgumentResult, hasBuiltInResult, hashCode, setBuiltInResult, toString
 
Methods inherited from class edu.stanford.smi.protegex.owl.swrl.bridge.impl.ArgumentImpl
getVariableName, isBound, isUnbound, isVariable, setBound, setUnbound
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.stanford.smi.protegex.owl.swrl.bridge.BuiltInArgument
getBuiltInMultiArgumentResult, getBuiltInResult, hasBuiltInMultiArgumentResult, hasBuiltInResult, setBuiltInResult
 
Methods inherited from interface edu.stanford.smi.protegex.owl.swrl.bridge.Argument
getVariableName, isBound, isUnbound, isVariable, setUnbound
 

Constructor Detail

MultiArgumentImpl

public MultiArgumentImpl()

MultiArgumentImpl

public MultiArgumentImpl(List<BuiltInArgument> arguments)
Method Detail

addArgument

public void addArgument(BuiltInArgument argument)
Specified by:
addArgument in interface MultiArgument

setArguments

public void setArguments(List<BuiltInArgument> arguments)
Specified by:
setArguments in interface MultiArgument

getArguments

public List<BuiltInArgument> getArguments()
Specified by:
getArguments in interface MultiArgument

getNumberOfArguments

public int getNumberOfArguments()
Specified by:
getNumberOfArguments in interface MultiArgument

hasNoArguments

public boolean hasNoArguments()
Specified by:
hasNoArguments in interface MultiArgument

setVariableName

public void setVariableName(String variableName)
Specified by:
setVariableName in interface Argument
Overrides:
setVariableName in class ArgumentImpl

compareTo

public int compareTo(BuiltInArgument argument)
Specified by:
compareTo in interface Comparable<BuiltInArgument>

Protégé-OWL 3.4.8

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