/*
 * Generated by XDoclet - Do not edit!
 */
package test.interfaces;

/**
 * Local interface for Account.
 * @xdoclet-generated at 16-04-05
 * @copyright The XDoclet Team
 * @author XDoclet
 * @version 1.2.3
 */
public interface AccountLocal
   extends javax.ejb.EJBLocalObject
{
   /**
    * Id of this account. This is not remote since the primary key can be extracted by other means.
    */
   public java.lang.Integer getId(  ) ;

   /**
    * Deposit money.
    */
   public void deposit( float amount ) ;

   /**
    * Withdraw money.
    */
   public void withdraw( float amount ) ;

   /**
    * Owner of this account.
    */
   public test.interfaces.Customer getOwner(  ) ;

   /**
    * Balance of the account.
    */
   public float getBalance(  ) ;

   /**
    * Generated bulk accessor. This is set as remote to allow clients to get all data in one call.
    */
   public test.interfaces.AccountData getData(  ) ;

   public test.interfaces.AccountValue getAccountValue(  ) ;

   public void setAccountValue( test.interfaces.AccountValue value ) ;

   /**
    * This is to get the unknown primary key. We just get the primary key from the entity context and cast it to the "known" class.
    */
   public java.lang.Integer getGeneratedPrimaryKey(  ) ;

   /**
    * The creation-date of the entity. This field is purely to track when this entity was created, and should be set in ejbCreate (<code>setCreationDate(new Date());</code>. It is not included in the value object. <p>We use the qualified name here because XDoclet doesn't copy imports from base classes into the generated interfaces.</p>
    */
   public java.util.Date getCreationDate(  ) ;

   public void setCreationDate( java.util.Date creationDate ) ;

}
