Jadex 0.96

jadex.examples.marsworld
Class LocationData

java.lang.Object
  extended by jadex.examples.marsworld.LocationData
All Implemented Interfaces:
nuggets.INugget
Direct Known Subclasses:
Location

public abstract class LocationData
extends Object
implements nuggets.INugget

Java class for concept Location of mars_beans ontology.


Nested Class Summary
 
Nested classes/interfaces inherited from interface nuggets.INugget
nuggets.INugget.Helper
 
Constructor Summary
LocationData()
          Default Constructor.
 
Method Summary
 void _persist(nuggets.ICruncher c)
          Persist this Location using the nuggets utility.
 void _set(String a, Object v)
          Restore this Location
 double getX()
          Get the x of this Location.
 double getY()
          Get the y of this Location.
 void setX(double x)
          Set the x of this Location.
 void setY(double y)
          Set the y of this Location.
 String toString()
          Get a string representation of this Location.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocationData

public LocationData()
Default Constructor.
Create a new Location.

Method Detail

getX

public double getX()
Get the x of this Location. The x-coordinate.

Returns:
x

setX

public void setX(double x)
Set the x of this Location. The x-coordinate.

Parameters:
x - the value to be set

getY

public double getY()
Get the y of this Location. The y-coordinate.

Returns:
y

setY

public void setY(double y)
Set the y of this Location. The y-coordinate.

Parameters:
y - the value to be set

toString

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

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

_persist

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

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

_set

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

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.