Class Chargingstation
- java.lang.Object
- 
- jadex.bdiv3.examples.cleanerworld.world.LocationObject
- 
- jadex.bdiv3.examples.cleanerworld.world.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.bdiv3.examples.cleanerworld.world.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 Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Get the name of this Chargingstation.protected static intgetNumber()Get an instance number.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.bdiv3.examples.cleanerworld.world.LocationObjectaddPropertyChangeListener, clone, equals, getId, getLocation, hashCode, removePropertyChangeListener, setId, setLocation
 
- 
 
- 
- 
- 
Method Detail- 
getNumberprotected static int getNumber() Get an instance number.
 - 
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.
 
 
- 
 
-