@Transformer
    public Ticket transformToTicket(TicketAck ticketAck) {
        Ticket ticket = new Ticket();
        ticket.setId(ticketAck.getId());
        return ticket;
    }
@ Transformer public Ticket transformToTicket ( TicketAck ticketAck ) { Ticket ticket = new Ticket ( ) ; ticket . setId ( ticketAck . getId ( ) ) ; return ticket ; }
Transform to ticket.

@param ticketAck the ticket ack
@return the ticket