Class Chargingstation

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class Chargingstation
    extends LocationObject
    Editable Java class for concept Chargingstation of cleaner-generated ontology.
    • Field Detail

      • instancecnt

        protected static int instancecnt
        The instance counter.
      • name

        protected java.lang.String name
        Attribute for slot name.
    • Constructor Detail

      • Chargingstation

        public Chargingstation()
        Create a new Chargingstation.
      • Chargingstation

        public Chargingstation​(Location location)
        Create a new charging station.
      • Chargingstation

        public Chargingstation​(java.lang.String name,
                               Location location)
        Create a new Chargingstation.
    • Method Detail

      • getNumber

        protected static int getNumber()
        Get an instance number.
      • getName

        public java.lang.String getName()
        Get the name of this Chargingstation.
        Returns:
        name
      • setName

        public void setName​(java.lang.String name)
        Set the name of this Chargingstation.
        Parameters:
        name - the value to be set
      • update

        public void update​(Chargingstation st)
        Update this wastebin.
      • toString

        public java.lang.String toString()
        Get a string representation of this Chargingstation.
        Overrides:
        toString in class LocationObject
        Returns:
        The string representation.