Search in sources :

Example 1 with Book

use of com.autentia.tnt.businessobject.Book in project TNTConcept by autentia.

the class BookBean method create.

/**
 * Go to create page
 * @return forward to CREATE page
 */
public String create() {
    book = new Book();
    // Fecha de compra
    book.setPurchaseDate(new Date());
    return NavigationResults.CREATE;
}
Also used : Book(com.autentia.tnt.businessobject.Book) Date(java.util.Date)

Aggregations

Book (com.autentia.tnt.businessobject.Book)1 Date (java.util.Date)1