com.opencms.modules.homepage.news
Class NewsItem

java.lang.Object
  |
  +--com.opencms.modules.homepage.news.NewsItem
All Implemented Interfaces:
java.io.Serializable

public class NewsItem
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
NewsItem()
          Creates NewsItem with no properties set
NewsItem(int id)
           
 
Method Summary
 java.lang.String getA_info1()
          Returns the additional info field of the NewsItem
 java.lang.String getA_info2()
          Returns the additional info field of the NewsItem
 java.lang.String getA_info3()
          Returns the additional info field of the NewsItem
 java.lang.String getDescription()
          Returns the news description of the NewsItem
 java.lang.String getHeadline()
          Returns the headline of the NewsItem
 int getID()
          Returns the id of the NewsItem
 java.lang.String getN_author()
          Returns the author of the NewsItem
 int getN_channel()
          Returns the channel number of the NewsItem
 java.util.Date getN_date()
          Returns the date of the NewsItem
 java.lang.String getN_link()
          Returns the link of the NewsItem
 java.lang.String getN_linkText()
          Returns the link text of the NewsItem
 int getN_lockState()
          Returns the lockState of the NewsItem
 java.lang.String getN_text()
          Returns the text of the NewsItem
 void setA_info1(java.lang.String a_info)
           
 void setA_info2(java.lang.String a_info)
           
 void setA_info3(java.lang.String a_info)
           
 void setDescription(java.lang.String description)
           
 void setHeadline(java.lang.String headline)
           
 void setN_author(java.lang.String author)
           
 void setN_channel(int channel)
           
 void setN_date(java.util.Date date)
           
 void setN_link(java.lang.String link)
           
 void setN_linkText(java.lang.String linkText)
           
 void setN_lockState(int lockState)
           
 void setN_text(java.lang.String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewsItem

public NewsItem()
Creates NewsItem with no properties set


NewsItem

public NewsItem(int id)
Method Detail

getID

public int getID()
Returns the id of the NewsItem


setHeadline

public void setHeadline(java.lang.String headline)

getHeadline

public java.lang.String getHeadline()
Returns the headline of the NewsItem


setDescription

public void setDescription(java.lang.String description)

getDescription

public java.lang.String getDescription()
Returns the news description of the NewsItem


setN_text

public void setN_text(java.lang.String text)

getN_text

public java.lang.String getN_text()
Returns the text of the NewsItem


setN_author

public void setN_author(java.lang.String author)

getN_author

public java.lang.String getN_author()
Returns the author of the NewsItem


setN_link

public void setN_link(java.lang.String link)

getN_link

public java.lang.String getN_link()
Returns the link of the NewsItem


setN_linkText

public void setN_linkText(java.lang.String linkText)

getN_linkText

public java.lang.String getN_linkText()
Returns the link text of the NewsItem


setN_date

public void setN_date(java.util.Date date)

getN_date

public java.util.Date getN_date()
Returns the date of the NewsItem


setN_lockState

public void setN_lockState(int lockState)

getN_lockState

public int getN_lockState()
Returns the lockState of the NewsItem


setN_channel

public void setN_channel(int channel)

getN_channel

public int getN_channel()
Returns the channel number of the NewsItem


setA_info1

public void setA_info1(java.lang.String a_info)

getA_info1

public java.lang.String getA_info1()
Returns the additional info field of the NewsItem


setA_info2

public void setA_info2(java.lang.String a_info)

getA_info2

public java.lang.String getA_info2()
Returns the additional info field of the NewsItem


setA_info3

public void setA_info3(java.lang.String a_info)

getA_info3

public java.lang.String getA_info3()
Returns the additional info field of the NewsItem