コード例 #1
0
        public List <Ticket> viewTicket()
        {
            TicketDAO     t       = TicketDAO.getInstance();
            List <Ticket> tickets = t.viewTickets();

            return(tickets);
        }
コード例 #2
0
 public static TicketDAO getInstance()
 {
     if (ticketDAL == null)
     {
         ticketDAL = new TicketDAO();
     }
     return(ticketDAL);
 }