Account.java

/*
 * Account.java
 *
 * Copyright (C) 2004-08 Side of Software (SOS)
 * All rights reserved.
 *
 *    http://www.sideofsoftware.com
 */

package examples;

/**
 * A bank account with a balance.
 * This class is part of Side of Software's Persistence Library
 * tutorial.<p>
 *
 * @author Side of Software
 */
public interface Account
{
  /**
   * Returns this account's balance.<p>
   */  
  public double getBalance();
  
  /**
   * Sets this account's balance.<p>
   *
   * @param balance this account's new balance
   */
  public void setBalance( double balance );
}