Class CheckingAccount
- java.lang.Object
-
- ejava.examples.orm.inheritance.annotated.Account
-
- ejava.examples.orm.inheritance.annotated.CheckingAccount
-
-
Field Summary
Fields Modifier and Type Field Description private double
fee
-
Constructor Summary
Constructors Constructor Description CheckingAccount()
CheckingAccount(long id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getFee()
void
setFee(double fee)
String
toString()
void
withdraw(double amount)
-
Methods inherited from class ejava.examples.orm.inheritance.annotated.Account
deposit, getBalance, getId, processInterest, setBalance
-
-
-
-
Method Detail
-
withdraw
public void withdraw(double amount) throws AccountException
- Specified by:
withdraw
in classAccount
- Throws:
AccountException
-
getFee
public double getFee()
-
setFee
public void setFee(double fee)
-
-