trait AnalyticsStore extends AnyRef
- Alphabetic
- By Inheritance
- AnalyticsStore
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
addVehicle(licensePlate: String, status: String): Boolean
adds a AnalyticsVehicle to StoreEntities
adds a AnalyticsVehicle to StoreEntities
- licensePlate
the license plate of the AnalyticsVehicle that wants to be added
- status
the current status of the AnalyticsVehicle that wants to be added
- returns
A boolean indicating the success or the failure of this operation.
-
abstract
def
clear(): Unit
clear the database
-
abstract
def
getVehicleByLicensePlate(licensePlate: String): Optional[AnalyticsVehicle]
get the vehicle by its license plate
get the vehicle by its license plate
- licensePlate
the string that represents the license plate of the AnalyticsVehicle that wants to be returned
- returns
a AnalyticsVehicle that contains the license plate and the status of the vehicle requested
-
abstract
def
getVehicleCounter(): VehicleCounter
get the number of vehicles divided per status
get the number of vehicles divided per status
- returns
a class VehicleCounter that contains the number of vehicles per status
-
abstract
def
updateVehicle(licensePlate: String, status: String): Boolean
update the status of a AnalyticsVehicle
update the status of a AnalyticsVehicle
- licensePlate
the license plate of the AnalyticsVehicle that wants to be updated
- status
the current status of the AnalyticsVehicle that wants to be updated
- returns
A boolean indicating the success or the failure of this operation.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )