|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.adapter.fipa.AgentAction
jadex.examples.hunterprey.RequestMove
public class RequestMove
Java class for concept RequestMove of hunterprey_beans ontology.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface nuggets.INugget |
---|
nuggets.INugget.Helper |
Field Summary | |
---|---|
static String |
DIRECTION_DOWN
Predefined value "down" for slot direction. |
static String |
DIRECTION_LEFT
Predefined value "left" for slot direction. |
static String |
DIRECTION_RIGHT
Predefined value "right" for slot direction. |
static String |
DIRECTION_UP
Predefined value "up" for slot direction. |
Fields inherited from interface java.beans.BeanInfo |
---|
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
Constructor Summary | |
---|---|
RequestMove()
Default Constructor. |
|
RequestMove(Creature creature,
String direction)
Init Constructor. |
Method Summary | |
---|---|
void |
_persist(nuggets.ICruncher c)
Persist this RequestMove using the nuggets utility. |
void |
_set(String a,
Object v)
Restore this RequestMove |
Creature |
getCreature()
Get the creature of this RequestMove. |
String |
getDirection()
Get the direction of this RequestMove. |
void |
setCreature(Creature creature)
Set the creature of this RequestMove. |
void |
setDirection(String direction)
Set the direction of this RequestMove. |
String |
toString()
Get a string representation of this RequestMove. |
Methods inherited from class jadex.adapter.fipa.AgentAction |
---|
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, loadImage |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static String DIRECTION_UP
public static String DIRECTION_DOWN
public static String DIRECTION_LEFT
public static String DIRECTION_RIGHT
Constructor Detail |
---|
public RequestMove()
RequestMove
.
public RequestMove(Creature creature, String direction)
creature
- direction
- Method Detail |
---|
public Creature getCreature()
public void setCreature(Creature creature)
creature
- the value to be setpublic String getDirection()
public void setDirection(String direction)
direction
- the value to be setpublic String toString()
toString
in class AgentAction
public void _persist(nuggets.ICruncher c)
_persist
in interface nuggets.INugget
c
- public void _set(String a, Object v)
_set
in interface nuggets.INugget
a
- the name of the attributev
- the value of the attribute
|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.