org.vizzini.ui.ai.logic
Class AbstractArgumentWrapper
java.lang.Object
org.vizzini.ui.ai.logic.AbstractArgumentWrapper
- All Implemented Interfaces:
- IArgumentWrapper
- Direct Known Subclasses:
- LiteralArgumentWrapper, PropertyArgumentWrapper
public abstract class AbstractArgumentWrapper
- extends Object
- implements IArgumentWrapper
Provides base functionality for argument wrappers in the logic system.
Wrappers are used to provide a proper display string to the user interface.
- Since:
- v0.2
- Version:
- v0.2
- Author:
- Jeffrey M. Thompson
AbstractArgumentWrapper
public AbstractArgumentWrapper(IArgument argument)
- Construct this object with the given parameter.
- Parameters:
argument
- Argument.- Since:
- v0.2
equals
public boolean equals(Object object)
- Return true if this equals the given object.
- Overrides:
equals
in class Object
- Parameters:
object
- Object to compare.- Since:
- v0.2
getArgument
public IArgument getArgument()
- Description copied from interface:
IArgumentWrapper
- Return the argument wrapped by this object.
- Specified by:
getArgument
in interface IArgumentWrapper
- Returns:
- Return argument.
- Since:
- v0.2
setArgument
protected void setArgument(IArgument argument)
- Parameters:
argument
- The argument to set.- Since:
- v0.2
Copyright © 2007 Vizzini.org. All Rights Reserved.
|
2007.12.25.03.00.02 |