Jadex 0.96

jadex.examples.hunterprey
Class RequestWorldSize

java.lang.Object
  extended by jadex.adapter.fipa.AgentAction
      extended by jadex.examples.hunterprey.RequestWorldSize
All Implemented Interfaces:
BeanInfo, Serializable, nuggets.INugget

public class RequestWorldSize
extends AgentAction
implements nuggets.INugget

Java class for concept RequestWorldSize of hunterprey_beans ontology.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface nuggets.INugget
nuggets.INugget.Helper
 
Field Summary
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
RequestWorldSize()
          Default Constructor.
 
Method Summary
 void _persist(nuggets.ICruncher c)
          Persist this RequestWorldSize using the nuggets utility.
 void _set(String a, Object v)
          Restore this RequestWorldSize
 int getHeight()
          Get the height of this RequestWorldSize.
 int getWidth()
          Get the width of this RequestWorldSize.
 void setHeight(int height)
          Set the height of this RequestWorldSize.
 void setWidth(int width)
          Set the width of this RequestWorldSize.
 String toString()
          Get a string representation of this RequestWorldSize.
 
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
 

Constructor Detail

RequestWorldSize

public RequestWorldSize()
Default Constructor.
Create a new RequestWorldSize.

Method Detail

getHeight

public int getHeight()
Get the height of this RequestWorldSize. The height of the world.

Returns:
height

setHeight

public void setHeight(int height)
Set the height of this RequestWorldSize. The height of the world.

Parameters:
height - the value to be set

getWidth

public int getWidth()
Get the width of this RequestWorldSize. The width of the world.

Returns:
width

setWidth

public void setWidth(int width)
Set the width of this RequestWorldSize. The width of the world.

Parameters:
width - the value to be set

toString

public String toString()
Get a string representation of this RequestWorldSize.

Overrides:
toString in class AgentAction
Returns:
The string representation.

_persist

public void _persist(nuggets.ICruncher c)
Persist this RequestWorldSize using the nuggets utility.

Specified by:
_persist in interface nuggets.INugget
Parameters:
c -

_set

public void _set(String a,
                 Object v)
Restore this RequestWorldSize

Specified by:
_set in interface nuggets.INugget
Parameters:
a - the name of the attribute
v - the value of the attribute

Jadex 0.96

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.