public class ActionDTO extends GenericDTO implements
Serializable,Auditable {
// default serial version id, required for
serializable classes.
public static final String ACTION_SUSPEND = "SPN";
public static final String ACTION_DEREGISTER
= "DRR";
public static final String ACTION_REINSTATE = "REI";
private static final long serialVersionUID = 1L;
private Long actionId;
private long accountId;
private Date actionDate;
private String actionType;
private String remarks;
private AccountDTO account;
public ActionDTO() {
}
public ActionDTO(Long accountId, String action,
String remarks,
String updatedBy) {
setAccountId(accountId);
setActionType(action);
setActionDate(new Date());
setRemarks(remarks);
setUpdatedBy(updatedBy);
}
public Long getActionId() {
return this.actionId;
}
public void setActionId(Long actionId) {
this.actionId = actionId;
}
public long getAccountId() {
return this.accountId;
}
public void setAccountId(long accountId) {
this.accountId = accountId;
}
public Date getActionDate() {
return this.actionDate;
}
public void setActionDate(Date actionDate) {
this.actionDate = actionDate;
}
public String getActionType() {
return this.actionType;
}
public void setActionType(String actionType) {
this.actionType = actionType;
}
public String getRemarks() {
return this.remarks;
}
public void setRemarks(String remarks) {
this.remarks = remarks;
}
// bi-directional many-to-one association to
AccountDTO
public AccountDTO getAccount() {
return this.account;
}
public void setAccount(AccountDTO account) {
this.account = account;
}
@Override
public String toString() {
// TODO Auto-generated method stub
return null;
}
}
what is the purpose of @Override
public String toString()...and what will do here ?
public class ActionSearchBean extends
GenericSearchBean<ActionDTO, Long,
ActionDTO> {
@Override
public String search() {
data.setRowCount(null);
if(data.getRowCount()==0){
data.getNoRecordFound().setRendered(true);
data.getDataScroller().setRendered(false);
}
return "searchAction";
}
@Override
public String clear() {
data.setRowCount(null);
if (data.getRowCount() > 0){
data.getNoRecordFound().setRendered(false);
data.getDataScroller().setRendered(true);
}else{
data.getNoRecordFound().setRendered(true);
data.getDataScroller().setRendered(false);
}
data.setModel(new ActionDTO());
data.setRowCount(null);
return "searchAction";
}
}
what is the purpose of @Override ...what will do @Override
here ?
Hi my doubt is that preparedStatement is a interface means
which has no implemenation.plz go thru the code below
String sql = "SELECT * FROM movies WHERE year_made = ?";
prest = con.prepareStatement(sql);
prest.setInt(1,2002);
ResultSet rs1 = prest.executeQuery();
Now setInt and executeQuery how it works since it is
interface it does not have implementation how it works, how
executeQuery returns result from database as executequery
method has no implementation even in Statement interface.
As a basis consultant what are the roles and
responsibility's looking in to EP(EP monitoring, and
trouble shooting and how to connect please let me some thing
anybody plz help me)
You are entered a credit memo posting to vendor who is
linked to a customer on 1st of May 2003 for your company
code but you have not specifically entered the same data in
customer till now. You have lots of entries appearing in the
vendor and customer account prior to that date of May 2003
also.
You are making a manual payment to the vendor ? select out
of the following which statements are correct.
a. Credit memo document will get the special payment term as
per vendor master definition.
b. Customer items will not be shown while paying the vendor
as customer is not linked.
c. Customer items will be shown only postings after the date
1st May 2003.
d. All items of customer and vendor will be available for
payment provided payment is same from 1st May 2003.
e. All items of customer and vendor will be available for
payment provided Special GL items are also selected in
selection screen irrespective of the activation date.
284
Hi all,
Do anybody know how to test JDBC protocol application which
doesnt have any UI with LR.I want to test it for
performance.Do i need to develope any UI to trigger that
process or is there any other way around??Please help me
how can the client export files be created at OS level.
45
hi all
here i have tab named "Workbench"
By clicking on "workbench" tab.it displays 4 tabs
like below
workbench
common cargo commercial charter
"common" tab have 10tabs inside,"cargo" tab also haveing 15
tabs inside and remaining two tabs also having few tabs
inside.
when clicked on "common" tab.it displaying the script like
tab("workbench").select"common"
if i clicked on "cargo".it displaying the script like
tab"workbench_2").select"cargo"
if i clicked on "commercial".it displaying the script like
tab"workbench_3").select"commercial"
if i clicked on "charter".it displaying the script like
tab"workbench_4").select"charter"
I have used a "FOR LOOP" for
common,commercial,cargo,charter tabs.it was stopped at
second tab
SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE
VARIABLE
if not, can anyone plese help me to solve this
How does SESAME relate to the CORBA Security service?
1539
what is the role of a performance tester in web
application,pls explain advantage of testing tool rather
doing it manually
171
What directory is the ActiveForm in ?
133
explain the basic QA plan to co-op with development plan
for effective delivery of the product
150
Have you ever tested 3 tier applications?
101
describe the problem of race condition in an operating
system and discuss TWO methods of addressing it
280
Types of cursors in DAO?
112
How to Select an item in a TListView when the checkbox is
checked ?
125
SAP Script for Billing in which Billing document number was
displayed as header, Bill Type, Bill Category, Bill Item,
Cost, Base Unit of Measurement and Material number were
categorically displayed for each billing document number.
plz mention the detail coding
Tahnks,
Rahul
C program to find all possible outcomes of a dice?
213
What r the mandatory fields in TD?
162
In a C# class we have a SortedList member m_addinProjects
we want to provide an iterator to allow the consumer of
this class access to the items in the collection. Please
provide an iterator method for the AnalyzeAddinsDLL class
below and an example of how it would be used.
namespace AnalyzeAddinsDLL
{
public class AllAddInProjects
{
private SortedList<string, AddInProject>
m_addinProjects;
public AllAddInProjects()
{
m_addinProjects = new SortedList<string,
AddInProject>();
}
}
}