Class Cleaner
- java.lang.Object
-
- jadex.bdiv3.examples.cleanerworld.world.LocationObject
-
- jadex.bdiv3.examples.cleanerworld.world.Cleaner
-
- All Implemented Interfaces:
java.lang.Cloneable
public class Cleaner extends LocationObject
Editable Java class for concept Cleaner of cleaner-generated ontology.
-
-
Field Summary
Fields Modifier and Type Field Description protected WastecarriedwasteAttribute for slot carried-waste.protected doublechargestateAttribute for slot chargestate.protected java.lang.StringnameAttribute for slot name.protected doublevisionrangeAttribute for slot vision-range.-
Fields inherited from class jadex.bdiv3.examples.cleanerworld.world.LocationObject
id, location, pcs
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()Clone the object.WastegetCarriedWaste()Get the carried-waste of this Cleaner.doublegetChargestate()Get the chargestate of this Cleaner.java.lang.StringgetName()Get the name of this Cleaner.doublegetVisionRange()Get the vision-range of this Cleaner.voidsetCarriedWaste(Waste carriedwaste)Set the carried-waste of this Cleaner.voidsetChargestate(double chargestate)Set the chargestate of this Cleaner.voidsetName(java.lang.String name)Set the name of this Cleaner.voidsetVisionRange(double visionrange)Set the vision-range of this Cleaner.java.lang.StringtoString()Get a string representation of this Cleaner.voidupdate(Cleaner cl)Update this wastebin.-
Methods inherited from class jadex.bdiv3.examples.cleanerworld.world.LocationObject
addPropertyChangeListener, equals, getId, getLocation, hashCode, removePropertyChangeListener, setId, setLocation
-
-
-
-
Field Detail
-
chargestate
protected double chargestate
Attribute for slot chargestate.
-
carriedwaste
protected Waste carriedwaste
Attribute for slot carried-waste.
-
visionrange
protected double visionrange
Attribute for slot vision-range.
-
name
protected java.lang.String name
Attribute for slot name.
-
-
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 java.lang.String getName()
Get the name of this Cleaner.- Returns:
- name
-
setName
public void setName(java.lang.String name)
Set the name of this Cleaner.- Parameters:
name- the value to be set
-
update
public void update(Cleaner cl)
Update this wastebin.
-
toString
public java.lang.String toString()
Get a string representation of this Cleaner.- Overrides:
toStringin classLocationObject- Returns:
- The string representation.
-
clone
public java.lang.Object clone()
Clone the object.- Overrides:
clonein classLocationObject
-
-