|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.newsletter.business.topic.NewsletterTopic
public class NewsletterTopic
Class to describe a topic of a newsletter. this class implements the
Comparable interface.
| Constructor Summary | |
|---|---|
NewsletterTopic()
|
|
| Method Summary | |
|---|---|
int |
compareTo(NewsletterTopic o)
|
boolean |
equals(Object o)
|
int |
getId()
Get the id of this newsletter topic |
int |
getIdNewsletter()
Get the id of the newsletter associated with this newsletter topic |
int |
getOrder()
Get the order of the newsletter topic |
int |
getSection()
Get the section of the topic |
String |
getTitle()
Get the title of this newsletter topic |
String |
getTopicTypeCode()
Get the name of the topic type of this newsletter topic |
String |
getTopicTypeName()
Get the name of the topic type associated with this topic |
int |
hashCode()
|
void |
setId(int nId)
Set the id of this newsletter topic |
void |
setIdNewsletter(int nIdNewsletter)
Set the id of the newsletter associated with this newsletter topic |
void |
setOrder(int nOrder)
Set the order of the newsletter topic |
void |
setSection(int nSection)
Set the section of the topic |
void |
setTitle(String strTitle)
Set the title of this newsletter topic |
void |
setTopicTypeCode(String strTopicTypeCode)
Set the name of the topic type of this newsletter topic |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NewsletterTopic()
| Method Detail |
|---|
public int getId()
public void setId(int nId)
nId - The id of this newsletter topicpublic int getIdNewsletter()
public void setIdNewsletter(int nIdNewsletter)
nIdNewsletter - the id of the newsletterpublic String getTopicTypeCode()
public String getTopicTypeName()
public void setTopicTypeCode(String strTopicTypeCode)
strTopicTypeCode - The name of the topic type of this newsletter
topicpublic String getTitle()
public void setTitle(String strTitle)
strTitle - The title of this newsletter topicpublic int getOrder()
public void setOrder(int nOrder)
nOrder - The order of the newsletter topicpublic int getSection()
public void setSection(int nSection)
nSection - The section of the topicpublic int compareTo(NewsletterTopic o)
compareTo in interface Comparable<NewsletterTopic>public int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||