1 /*
2 *******************************************************************************
3 * Copyright (c) 2005 Chris Rose and AIMedia
4 * All rights reserved. SQLFood 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 java.io.PrintStream;
15
16 import ca.spaz.cron.database.Food;
17
18 /***
19 * TODO describe
20 * @author Chris Rose
21 */
22 public interface SQLFood extends Food {
23
24 int getID();
25
26 String getNDB_ID();
27
28 /***
29 * @todo: Implement an export to XML routine
30 *
31 * @param out
32 * a print stream to export onto
33 */
34 void writeXML(PrintStream out);
35
36 /***
37 * @param ID
38 */
39 void setID(int ID);
40
41 }