Kereta Yarsi Indonesia
Loading...
Searching...
No Matches
model.TrainDAO Interface Reference
Inheritance diagram for model.TrainDAO:
controller.TrainController

Public Member Functions

Train getTrainByTrainName (String trainName)
 

Detailed Description

The TrainDAO interface provides methods for accessing and manipulating train data in the database. Implementations of this interface should provide the actual database operations for train-related data.

This interface defines the method for retrieving a train based on its name.

Version
1.0
Since
2024-06-23
See also
Train
Author
Muhammad Rizal Anditama Nugraha

Member Function Documentation

◆ getTrainByTrainName()

Train model.TrainDAO.getTrainByTrainName ( String  trainName)

Retrieves a train from the database based on the specified train name.

Parameters
trainNamethe name of the train to retrieve
Returns
the Train object corresponding to the specified train name, or null if no such train exists

Implemented in controller.TrainController.


The documentation for this interface was generated from the following file: