Jadex 0.96

jadex.examples.cleanerworld.multi
Class CleanerData

java.lang.Object
  extended by jadex.examples.cleanerworld.multi.LocationObjectData
      extended by jadex.examples.cleanerworld.multi.LocationObject
          extended by jadex.examples.cleanerworld.multi.CleanerData
All Implemented Interfaces:
Serializable, Cloneable, nuggets.INugget
Direct Known Subclasses:
Cleaner

public abstract class CleanerData
extends LocationObject
implements nuggets.INugget

Java class for concept Cleaner of cleaner_beans ontology.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface nuggets.INugget
nuggets.INugget.Helper
 
Constructor Summary
CleanerData()
          Default Constructor.
 
Method Summary
 void _persist(nuggets.ICruncher c)
          Persist this Cleaner using the nuggets utility.
 void _set(String a, Object v)
          Restore this Cleaner
 Waste getCarriedWaste()
          Get the carried-waste of this Cleaner.
 double getChargestate()
          Get the chargestate of this Cleaner.
 String getName()
          Get the name of this Cleaner.
 double getVisionRange()
          Get the vision-range of this Cleaner.
 void setCarriedWaste(Waste carriedwaste)
          Set the carried-waste of this Cleaner.
 void setChargestate(double chargestate)
          Set the chargestate of this Cleaner.
 void setName(String name)
          Set the name of this Cleaner.
 void setVisionRange(double visionrange)
          Set the vision-range of this Cleaner.
 String toString()
          Get a string representation of this Cleaner.
 
Methods inherited from class jadex.examples.cleanerworld.multi.LocationObject
clone, equals, hashCode
 
Methods inherited from class jadex.examples.cleanerworld.multi.LocationObjectData
getId, getLocation, setId, setLocation
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CleanerData

public CleanerData()
Default Constructor.
Create a new Cleaner.

Method Detail

getChargestate

public double getChargestate()
Get the chargestate of this Cleaner.

Returns:
chargestate

setChargestate

public void setChargestate(double chargestate)
Set the chargestate of this Cleaner.

Parameters:
chargestate - the value to be set

getCarriedWaste

public Waste getCarriedWaste()
Get the carried-waste of this Cleaner.

Returns:
carried-waste

setCarriedWaste

public void setCarriedWaste(Waste carriedwaste)
Set the carried-waste of this Cleaner.

Parameters:
carriedwaste - the value to be set

getVisionRange

public double getVisionRange()
Get the vision-range of this Cleaner.

Returns:
vision-range

setVisionRange

public void setVisionRange(double visionrange)
Set the vision-range of this Cleaner.

Parameters:
visionrange - the value to be set

getName

public String getName()
Get the name of this Cleaner.

Returns:
name

setName

public void setName(String name)
Set the name of this Cleaner.

Parameters:
name - the value to be set

toString

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

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

_persist

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

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

_set

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

Specified by:
_set in interface nuggets.INugget
Overrides:
_set in class LocationObjectData
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.