Java Reference
In-Depth Information
return closeDate;
}
/**
* @param closeDate the closeDate to set
*/
public void setCloseDate(Date closeDate) {
this.closeDate = closeDate;
}
/**
* @return the orderNumber
*/
public int getOrderNumber() {
return orderNumber;
}
/**
* @param orderNumber the orderNumber to set
*/
public void setOrderNumber(int orderNumber) {
this.orderNumber = orderNumber;
}
/**
* @return the accountId
*/
public Long getAccountId() {
return accountId;
}
/**
* @param accountId the accountId to set
*/
public void setAccountId(Long accountId) {
this.accountId = accountId;
}
}
Controller
The controller processes and responds to application events and, for our
application, is implemented by a single servlet. All of the methods called from your
views are implemented in this servlet (Listing 4-8). The servlet uses an instance of
the PersistenceManager and well as some JDO Query Language (JDOQL) queries,
which we'll explain in detail in Chapter 7.
 
Search WWH ::




Custom Search