Class Cleaner

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class Cleaner
    extends LocationObject
    Editable Java class for concept Cleaner of cleaner-generated ontology.
    • 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.
    • Constructor Detail

      • Cleaner

        public Cleaner()
        Create a new Cleaner.
      • Cleaner

        public Cleaner​(Location location,
                       java.lang.String name,
                       Waste carriedwaste,
                       double vision,
                       double chargestate)
        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 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 class LocationObject
        Returns:
        The string representation.
      • clone

        public java.lang.Object clone()
        Clone the object.
        Overrides:
        clone in class LocationObject