01: package org.apache.ojb.broker;
02:
03: import java.io.Serializable;
04: import java.util.List;
05:
06: /**
07: * Interface for ProductGroup objects.
08: */
09: public interface InterfaceProductGroup extends Serializable {
10: /** return List of all Articles in productgroup*/
11: public List getAllArticles();
12:
13: /** add article to group*/
14: public void add(InterfaceArticle article);
15:
16: /** return group id*/
17: public Integer getId();
18:
19: /** return groupname*/
20: public String getName();
21: }
|