jadex.examples.marsworld
Class LocationObject
java.lang.Object
jadex.examples.marsworld.LocationObjectData
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 classes/interfaces inherited from interface nuggets.INugget |
nuggets.INugget.Helper |
Methods inherited from interface nuggets.INugget |
_persist, _set |
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.
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.
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.