Methods Summary |
---|
public java.lang.String | ejbCreate(AccountData data)
setId(data.id);
setData(data);
dirty = false;
return null;
|
public void | ejbLoad()
dirty = false;
|
public void | ejbPostCreate(AccountData data)
|
public float | getBalance()
return balance;
|
public AccountData | getData()
AccountData data = new AccountData();
data.setId(id);
data.setBalance(balance);
data.setOwner(owner);
return data;
|
public java.lang.String | getId()
return id;
|
public Customer | getOwner()
return owner;
|
public boolean | isModified()
return dirty;
|
public void | setBalance(float balance)
this.balance = balance;
dirty = true;
|
public void | setData(AccountData data)
setBalance(data.getBalance());
setOwner(data.getOwner());
|
public void | setId(java.lang.String id)
this.id = id;
dirty = true;
|
public void | setOwner(Customer owner)
this.owner = owner;
dirty = true;
|