Class Chargingstation
- java.lang.Object
-
- jadex.bdi.examples.cleanerworld_classic.LocationObject
-
- jadex.bdi.examples.cleanerworld_classic.Chargingstation
-
- All Implemented Interfaces:
java.lang.Cloneable
public class Chargingstation extends LocationObject
Editable Java class for concept Chargingstation of cleaner-generated ontology.
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
instancecnt
The instance counter.protected java.lang.String
name
Attribute for slot name.-
Fields inherited from class jadex.bdi.examples.cleanerworld_classic.LocationObject
id, location, pcs
-
-
Constructor Summary
Constructors Constructor Description Chargingstation()
Create a new Chargingstation.Chargingstation(Location location)
Create a new charging station.Chargingstation(java.lang.String name, Location location)
Create a new Chargingstation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Get the name of this Chargingstation.void
setName(java.lang.String name)
Set the name of this Chargingstation.java.lang.String
toString()
Get a string representation of this Chargingstation.void
update(Chargingstation st)
Update this wastebin.-
Methods inherited from class jadex.bdi.examples.cleanerworld_classic.LocationObject
addPropertyChangeListener, clone, equals, getId, getLocation, hashCode, removePropertyChangeListener, setId, setLocation
-
-
-
-
Method Detail
-
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 classLocationObject
- Returns:
- The string representation.
-
-