net.ezcontent.impl.eos.base
Class BaseDocument

java.lang.Object
  extended bynet.ezcontent.impl.eos.base.BaseDocument
All Implemented Interfaces:
Serializable

public abstract class BaseDocument
extends Object
implements Serializable

This is an object that contains data related to the SimpleDocument table. Do not modify this class because it will be overwritten if the configuration file related to this class is modified. For more information visit The Hibernate Synchronizer page, or contact Joe Hudson

See Also:
Serialized Form

Field Summary
private  int docID
           
private  int hashCode
           
private  Date publishDate
           
private  String title
           
private  Date unpublishDate
           
 
Constructor Summary
BaseDocument()
           
BaseDocument(int docID)
          Constructor for primary key
BaseDocument(int docID, String title)
          Constructor for required fields
 
Method Summary
 boolean equals(Object obj)
           
 int getDocID()
          Return the unique identifier of this class
 Date getPublishDate()
           
 String getTitle()
           
 Date getUnpublishDate()
           
 int hashCode()
           
 void setDocID(int docID)
          Set the unique identifier of this class
 void setPublishDate(Date publishDate)
          Set the value related to the column: pub_date
 void setTitle(String title)
          Set the value related to the column: title
 void setUnpublishDate(Date unpublishDate)
          Set the value related to the column: unpub_date
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hashCode

private int hashCode

docID

private int docID

title

private String title

publishDate

private Date publishDate

unpublishDate

private Date unpublishDate
Constructor Detail

BaseDocument

public BaseDocument()

BaseDocument

public BaseDocument(int docID)
Constructor for primary key


BaseDocument

public BaseDocument(int docID,
                    String title)
Constructor for required fields

Method Detail

getDocID

public int getDocID()
Return the unique identifier of this class


setDocID

public void setDocID(int docID)
Set the unique identifier of this class

Parameters:
docID - the new ID

getTitle

public String getTitle()

setTitle

public void setTitle(String title)
Set the value related to the column: title

Parameters:
title - the title value

getPublishDate

public Date getPublishDate()

setPublishDate

public void setPublishDate(Date publishDate)
Set the value related to the column: pub_date

Parameters:
publishDate - the pub_date value

getUnpublishDate

public Date getUnpublishDate()

setUnpublishDate

public void setUnpublishDate(Date unpublishDate)
Set the value related to the column: unpub_date

Parameters:
unpublishDate - the unpub_date value

equals

public boolean equals(Object obj)

hashCode

public int hashCode()