Coverage Report - org.homeunix.thecave.buddi.plugin.api.model.ImmutableAccountType
 
Classes in this File Line Coverage Branch Coverage Complexity
ImmutableAccountType
N/A
N/A
1
 
 1  
 /*
 2  
  * Created on Aug 12, 2007 by wyatt
 3  
  */
 4  
 package org.homeunix.thecave.buddi.plugin.api.model;
 5  
 
 6  
 import org.homeunix.thecave.buddi.model.AccountType;
 7  
 
 8  
 public interface ImmutableAccountType extends ImmutableModelObject {
 9  
         
 10  
         /**
 11  
          * Returns the name associated with this type
 12  
          * @return
 13  
          */
 14  
         public String getName();
 15  
         
 16  
         /**
 17  
          * Returns the wrapped object from the underlying data model.  By 
 18  
          * accessing this method, you bypass all protection which the Buddi API
 19  
          * gives you; it is not recommended to use this method unless you understand
 20  
          * the risks associated with it. 
 21  
          * @return
 22  
          */
 23  
         public AccountType getType();
 24  
         
 25  
         /**
 26  
          * Does this type represent credit accounts? 
 27  
          * @return
 28  
          */
 29  
         public boolean isCredit();
 30  
 }