Class Cleaner
- java.lang.Object
-
- jadex.bdi.examples.cleanerworld_classic.LocationObject
-
- jadex.bdi.examples.cleanerworld_classic.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 Waste
carriedwaste
Attribute for slot carried-waste.protected double
chargestate
Attribute for slot chargestate.protected java.lang.String
name
Attribute for slot name.protected double
visionrange
Attribute for slot vision-range.-
Fields inherited from class jadex.bdi.examples.cleanerworld_classic.LocationObject
id, location, pcs
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
Clone the object.Waste
getCarriedWaste()
Get the carried-waste of this Cleaner.double
getChargestate()
Get the chargestate of this Cleaner.java.lang.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(java.lang.String name)
Set the name of this Cleaner.void
setVisionRange(double visionrange)
Set the vision-range of this Cleaner.java.lang.String
toString()
Get a string representation of this Cleaner.void
update(Cleaner cl)
Update this wastebin.-
Methods inherited from class jadex.bdi.examples.cleanerworld_classic.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:
toString
in classLocationObject
- Returns:
- The string representation.
-
clone
public java.lang.Object clone()
Clone the object.- Overrides:
clone
in classLocationObject
-
-