Package core.components
Class StandardStation
- java.lang.Object
- 
- core.components.Station
- 
- core.components.StandardStation
 
 
- 
 public class StandardStation extends Station The StandardStation class : This class defines what is a standard station on the application
- 
- 
Constructor SummaryConstructors Constructor Description StandardStation(java.awt.Point coordinate, boolean onService, java.util.List<ParkingSlot> parkingSlots)A (simpler) StandardStation constructorStandardStation(java.awt.Point coordinate, boolean onService, java.util.List<ParkingSlot> parkingSlots, double money, int numberOfDroppings)A StandardStation constructor
 - 
Method Summary- 
Methods inherited from class core.components.StationaddMoney, addNumberOfDroppings, addNumberOfRentings, equals, getCoordinate, getElectricalParkingSlot, getExistTypeBike, getId, getMechanicalParkingSlot, getMoney, getNumberOfDroppings, getNumberOfRentings, getNumberOfStations, getOneFreeSlot, getParkingSlots, getParkingSlotTypeBicycle, getStationTerminal, hasAvailableElectricalBicycle, hasAvailableMechanicalBicycle, hashCode, hasOneSlotFree, isOnService, removeMoney, setCoordinate, setMoney, setNumberOfDroppings, setNumberOfRentings, setOnService, setParkingSlots, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
StandardStationpublic StandardStation(java.awt.Point coordinate, boolean onService, java.util.List<ParkingSlot> parkingSlots, double money, int numberOfDroppings)A StandardStation constructor- Parameters:
- coordinate- coordinate that will be used to place a plus station
- onService- a boolean parameter to know if the station will be on service
- parkingSlots- a list of parking slots that will populate the plus station
- money- the initial money that the station will have
- numberOfDroppings- the number of droppings (or locations)
 
 - 
StandardStationpublic StandardStation(java.awt.Point coordinate, boolean onService, java.util.List<ParkingSlot> parkingSlots)A (simpler) StandardStation constructor- Parameters:
- coordinate- coordinate that will be used to place a plus station
- onService- a boolean parameter to know if the station will be on service
- parkingSlots- a list of parking slots that will populate the plus station
 
 
- 
 
-