| %line | %branch | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ca.spaz.cron.database.AbstractFoodGroup | 
  | 
    
  | 
  
| 1 |  /* | 
    |
| 2 |   ******************************************************************************* | 
    |
| 3 |   * Copyright (c) 2005 Chris Rose and AIMedia | 
    |
| 4 |   * All rights reserved. FoodGroup and the accompanying materials | 
    |
| 5 |   * are made available under the terms of the Common Public License v1.0 | 
    |
| 6 |   * which accompanies this distribution, and is available at | 
    |
| 7 |   * http://www.eclipse.org/legal/cpl-v10.html | 
    |
| 8 |   *  | 
    |
| 9 |   * Contributors: | 
    |
| 10 |   *     Chris Rose | 
    |
| 11 |   *******************************************************************************/ | 
    |
| 12 |  package ca.spaz.cron.database; | 
    |
| 13 | ||
| 14 |  /** | 
    |
| 15 |   * A simple food group aggregator.  Should have per-datasource subclasses.  | 
    |
| 16 |   * @author Chris Rose | 
    |
| 17 |   */ | 
    |
| 18 | 10 | public abstract class AbstractFoodGroup implements FoodGroup {  | 
    
| 19 | ||
| 20 |     public String toString() { | 
    |
| 21 | 0 |        return getFoodGroupName(); | 
    
| 22 | }  | 
    |
| 23 | ||
| 24 | public boolean equals(FoodGroup fg) {  | 
    |
| 25 | 0 |        return fg.toString().equals(toString()); | 
    
| 26 | }  | 
    |
| 27 | ||
| 28 | }  | 
    
| This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |