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 SummaryFields Modifier and Type Field Description protected static intinstancecntThe instance counter.protected java.lang.StringnameAttribute for slot name.- 
Fields inherited from class jadex.bdi.examples.cleanerworld_classic.LocationObjectid, location, pcs
 
- 
 - 
Constructor SummaryConstructors 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 SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Get the name of this Chargingstation.voidsetName(java.lang.String name)Set the name of this Chargingstation.java.lang.StringtoString()Get a string representation of this Chargingstation.voidupdate(Chargingstation st)Update this wastebin.- 
Methods inherited from class jadex.bdi.examples.cleanerworld_classic.LocationObjectaddPropertyChangeListener, clone, equals, getId, getLocation, hashCode, removePropertyChangeListener, setId, setLocation
 
- 
 
- 
- 
- 
Method Detail- 
getNamepublic java.lang.String getName() Get the name of this Chargingstation.- Returns:
- name
 
 - 
setNamepublic void setName(java.lang.String name) Set the name of this Chargingstation.- Parameters:
- name- the value to be set
 
 - 
updatepublic void update(Chargingstation st) Update this wastebin.
 - 
toStringpublic java.lang.String toString() Get a string representation of this Chargingstation.- Overrides:
- toStringin class- LocationObject
- Returns:
- The string representation.
 
 
- 
 
-