org.vizzini.ai.logic
Interface IArgument

All Superinterfaces:
Cloneable
All Known Implementing Classes:
AbstractArgument, LiteralArgument, PropertyArgument

public interface IArgument
extends Cloneable

Defines methods required by arguments in the logic system. Arguments are used in constructing sentences.

Since:
v0.2
Version:
v0.2
Author:
Jeffrey M. Thompson

Method Summary
 Object clone()
          Return a clone of this instance.
 ArgumentType getArgumentType()
          Return the argument type.
 Object getValue(Object contextItem)
          Return the value of this argument using the given context item.
 

Method Detail

clone

Object clone()
Return a clone of this instance.

Since:
v0.2

getArgumentType

ArgumentType getArgumentType()
Return the argument type.

Since:
v0.2

getValue

Object getValue(Object contextItem)
                throws LogicException
Return the value of this argument using the given context item.

Throws:
LogicException
Since:
v0.2


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02