1 27 28 29 package com.sun.ebank.ejb.account; 30 31 import java.util.*; 32 import java.math.*; 33 import javax.ejb.*; 34 import com.sun.ebank.util.AccountDetails; 35 36 37 public interface Account extends EJBLocalObject { 38 public AccountDetails getDetails(); 39 40 public BigDecimal getBalance(); 41 42 public String getType(); 43 44 public BigDecimal getCreditLine(); 45 46 public void setType(String type); 47 48 public void setDescription(String description); 49 50 public void setBalance(BigDecimal balance); 51 52 public void setCreditLine(BigDecimal creditLine); 53 54 public void setBeginBalance(BigDecimal beginBalance); 55 56 public void setBeginBalanceTimeStamp(Date beginBalanceTimeStamp); 57 } 58 | Popular Tags |