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 SummaryFields 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.LocationObjectid, location, pcs
 
- 
 - 
Method SummaryAll 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.LocationObjectaddPropertyChangeListener, equals, getId, getLocation, hashCode, removePropertyChangeListener, setId, setLocation
 
- 
 
- 
- 
- 
Field Detail- 
chargestateprotected double chargestate Attribute for slot chargestate.
 - 
carriedwasteprotected Waste carriedwaste Attribute for slot carried-waste.
 - 
visionrangeprotected double visionrange Attribute for slot vision-range.
 - 
nameprotected java.lang.String name Attribute for slot name.
 
- 
 - 
Method Detail- 
getChargestatepublic double getChargestate() Get the chargestate of this Cleaner.- Returns:
- chargestate
 
 - 
setChargestatepublic void setChargestate(double chargestate) Set the chargestate of this Cleaner.- Parameters:
- chargestate- the value to be set
 
 - 
getCarriedWastepublic Waste getCarriedWaste() Get the carried-waste of this Cleaner.- Returns:
- carried-waste
 
 - 
setCarriedWastepublic void setCarriedWaste(Waste carriedwaste) Set the carried-waste of this Cleaner.- Parameters:
- carriedwaste- the value to be set
 
 - 
getVisionRangepublic double getVisionRange() Get the vision-range of this Cleaner.- Returns:
- vision-range
 
 - 
setVisionRangepublic void setVisionRange(double visionrange) Set the vision-range of this Cleaner.- Parameters:
- visionrange- the value to be set
 
 - 
getNamepublic java.lang.String getName() Get the name of this Cleaner.- Returns:
- name
 
 - 
setNamepublic void setName(java.lang.String name) Set the name of this Cleaner.- Parameters:
- name- the value to be set
 
 - 
updatepublic void update(Cleaner cl) Update this wastebin.
 - 
toStringpublic java.lang.String toString() Get a string representation of this Cleaner.- Overrides:
- toStringin class- LocationObject
- Returns:
- The string representation.
 
 - 
clonepublic java.lang.Object clone() Clone the object.- Overrides:
- clonein class- LocationObject
 
 
- 
 
-