FileDocCategorySizeDatePackage
NewsItemBean.javaAPI DocExample1663Thu Jun 28 16:14:16 BST 2001com.ora.jsp.beans.news

NewsItemBean

public class NewsItemBean extends Object implements Serializable
This class holds information about one news item. It's only intended as an example.
author
Hans Bergsten, Gefion software
version
1.0

Fields Summary
private String
category
private String
msg
private String
postedBy
private Date
postedDate
private int
id
Constructors Summary
Methods Summary
public java.lang.StringgetCategory()
Returns the category property value.


              
       
        return category;
    
public intgetId()
Returns the id property value.

        return id;
    
public java.lang.StringgetMsg()
Returns the msg property value.

        return msg;
    
public java.lang.StringgetPostedBy()
Returns the postedBy property value.

        return postedBy;
    
public java.util.DategetPostedDate()
Returns the postedDate property value.

        return postedDate;
    
public voidsetCategory(java.lang.String category)
Sets the category property value.

        this.category = category;
    
public voidsetId(int id)
Sets the id property value.

        this.id = id;
    
public voidsetMsg(java.lang.String msg)
Sets the msg property value.

        this.msg = msg;
    
public voidsetPostedBy(java.lang.String postedBy)
Sets the postedBy property value.

        this.postedBy = postedBy;