Jadex 0.96

jadex.examples.marsworld
Class LocationObject

java.lang.Object
  extended by jadex.examples.marsworld.LocationObjectData
      extended by jadex.examples.marsworld.LocationObject
All Implemented Interfaces:
Serializable, nuggets.INugget
Direct Known Subclasses:
Homebase, TargetData

public class LocationObject
extends LocationObjectData
implements Serializable, nuggets.INugget

An object with a location.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface nuggets.INugget
nuggets.INugget.Helper
 
Constructor Summary
LocationObject()
          Create a new location object.
LocationObject(String id, Location location)
          Create a new location object.
 
Method Summary
 boolean equals(Object o)
          Test if two instances are equal.
 String toString()
          Get the string representation.
 
Methods inherited from class jadex.examples.marsworld.LocationObjectData
_persist, _set, getId, getLocation, setId, setLocation
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface nuggets.INugget
_persist, _set
 

Constructor Detail

LocationObject

public LocationObject()
Create a new location object. Empty bean contructor.


LocationObject

public LocationObject(String id,
                      Location location)
Create a new location object.

Parameters:
id - The id.
location - The location.
Method Detail

equals

public boolean equals(Object o)
Test if two instances are equal.

Overrides:
equals in class Object
Returns:
True, if equal.

toString

public String toString()
Get the string representation.

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

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.