org.jboss.cdi.tck.tests.decorators.definition
Class BankAccount

java.lang.Object
  extended by org.jboss.cdi.tck.tests.decorators.definition.BankAccount
All Implemented Interfaces:
Account

public class BankAccount
extends Object
implements Account


Constructor Summary
BankAccount()
           
 
Method Summary
 void deposit(int amount)
           
 int getBalance()
           
 void withdraw(int amount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BankAccount

public BankAccount()
Method Detail

withdraw

public void withdraw(int amount)
Specified by:
withdraw in interface Account

deposit

public void deposit(int amount)
Specified by:
deposit in interface Account

getBalance

public int getBalance()
Specified by:
getBalance in interface Account


Copyright © 2008-2012 Seam Framework. All Rights Reserved.