%line | %branch | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
ca.spaz.cron.datasource.sql.SQLFoodGroupImpl |
|
|
1 | /* |
|
2 | ******************************************************************************* |
|
3 | * Copyright (c) 2005 Chris Rose and AIMedia |
|
4 | * All rights reserved. SQLFoodGroupImpl 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.datasource.sql; |
|
13 | ||
14 | import ca.spaz.cron.database.*; |
|
15 | ||
16 | /** |
|
17 | * TODO describe |
|
18 | * @author Chris Rose |
|
19 | */ |
|
20 | 7 | class SQLFoodGroupImpl extends AbstractFoodGroup implements SQLFoodGroup { |
21 | ||
22 | private String name; |
|
23 | 10 | static final FoodGroup EMPTY_GROUP = new SQLFoodGroupImpl(""); |
24 | ||
25 | /** |
|
26 | * |
|
27 | */ |
|
28 | 10 | SQLFoodGroupImpl(String name) { |
29 | 10 | this.name = name; |
30 | 10 | } |
31 | ||
32 | /* (non-Javadoc) |
|
33 | * @see ca.spaz.cron.database.FoodGroup#doGetFoodGroupName() |
|
34 | */ |
|
35 | public String getFoodGroupName() { |
|
36 | 0 | return name; |
37 | } |
|
38 | ||
39 | } |
This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |