View Javadoc
1   package fr.paris.lutece.plugins.blog.business;
2   
3   import java.io.Serializable;
4   
5   
6   public class BlogSerializable implements Serializable
7   {
8       int id;
9       String contentLabel;
10  
11      public BlogSerializable( )
12      {
13      }
14  
15      public BlogSerializable( int id, String contentLabel )
16      {
17          this.id = id;
18          this.contentLabel = contentLabel;
19      }
20  
21      /**
22       *
23       * @return id
24       */
25      public int getId( )
26      {
27          return id;
28      }
29  
30      /**
31       *
32       * @param id
33       */
34      public void setId( int id )
35      {
36          this.id = id;
37      }
38  
39      /**
40       *
41       * @return the content label.
42       */
43      public String getContentLabel( )
44      {
45          return contentLabel;
46      }
47  
48      /**
49       *
50       * @param contentLabel
51       */
52      public void setContentLabel( String contentLabel )
53      {
54          this.contentLabel = contentLabel;
55      }
56  }