KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ojb > broker > News


1 package org.apache.ojb.broker;
2
3 /**
4  * This interface is used to test extent aware path expressions
5  * @author <a HREF="leandro@ibnetwork.com.br">Leandro Rodrigo Saad Cruz</a>
6  */

7 public class News
8     extends BaseContentImpl
9 {
10     
11     public News()
12     {
13         super();
14     }
15     
16     /**
17      * @param i
18      */

19     public News(int id)
20     {
21         super(id);
22     }
23
24     /**
25      *
26      */

27     private String JavaDoc headline;
28
29
30     /**
31      * @return
32      */

33     public String JavaDoc getHeadline()
34     {
35         return headline;
36     }
37
38     /**
39      * @param string
40      */

41     public void setHeadline(String JavaDoc headline)
42     {
43         this.headline = headline;
44     }
45
46 }
47
Popular Tags