新闻发布系统

源代码在线查看: catalog.java

软件大小: 238 K
上传用户: forchwei
关键词: 新闻发布系统
下载地址: 免注册下载 普通下载 VIP

相关代码

				/*
				 * Catalog.java
				 *
				 * Created on 2007年3月22日, 上午9:08
				 *
				 * To change this template, choose Tools | Template Manager
				 * and open the template in the editor.
				 */
				
				package News.GUI.Data;
				
				import java.sql.Date;
				
				/**
				 *
				 * @author Owner
				 */
				public class Catalog implements java.io.Serializable{
				    
				    private String title;
				    private int id;
				    private Date time;
				    private String logo;
				    
				    public void setLogo(String s)
				    {
				       logo=s;
				    }
				    
				    public String getLogo()
				    {
				        return logo;
				    }
				    
				    public void setTime(Date s)
				    {
				        time=s;
				    }
				    
				    public Date getTime()
				    {
				        return time;
				    }
				    
				    public void setTitle(String s)
				    {
				        title=s;
				    }
				    
				    public String getTitle()
				    {
				        return title;
				    }
				    
				    public void setId(int i)
				    {
				        id=i;
				    }
				    
				    public int getId()
				    {
				        return id;
				    }
				    /** Creates a new instance of Catalog */
				    public Catalog() {
				    }
				    
				}
							

相关资源