Java Doc for Topic.java in  » Forum » JForum-2.1.8 » net » jforum » entities » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Forum » JForum 2.1.8 » net.jforum.entities 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.jforum.entities.Topic

Topic
public class Topic implements Serializable(Code)
Represents every topic in the forum.
author:
   Rafael Steil
version:
   $Id: Topic.java,v 1.18 2007/08/01 22:09:03 rafaelsteil Exp $


Field Summary
final public static  intSTATUS_LOCKED
    
final public static  intSTATUS_UNLOCKED
    
final public static  intTYPE_ANNOUNCE
    
final public static  intTYPE_NORMAL
    
final public static  intTYPE_STICKY
    

Constructor Summary
public  Topic()
    
public  Topic(int topicId)
    

Method Summary
public  booleanequals(Object o)
    
public  intgetFirstPostId()
    
public  StringgetFirstPostTime()
    
public  intgetForumId()
    
public  intgetId()
    
public  UsergetLastPostBy()
    
public  DategetLastPostDate()
    
public  intgetLastPostId()
    
public  StringgetLastPostTime()
    
public  intgetMovedId()
    
public  booleangetPaginate()
    
public  UsergetPostedBy()
    
public  booleangetRead()
    
public  intgetStatus()
    
public  DategetTime()
    
public  StringgetTitle()
    
public  DoublegetTotalPages()
    
public  intgetTotalReplies()
    
public  intgetTotalViews()
    
public  intgetType()
    
public  intgetVoteId()
    
public  booleanhasAttach()
    
public  inthashCode()
    
public  booleanisHot()
    
public  booleanisModerated()
    
public  booleanisVote()
    
public  voidsetFirstPostId(int firstPostId)
    
public  voidsetFirstPostTime(String d)
    
public  voidsetForumId(int idForum)
    
public  voidsetHasAttach(boolean b)
    
public  voidsetHot(boolean hot)
    
public  voidsetId(int id)
    
public  voidsetLastPostBy(User u)
    
public  voidsetLastPostDate(Date t)
    
public  voidsetLastPostId(int lastPostId)
    
public  voidsetLastPostTime(String d)
    
public  voidsetModerated(boolean b)
    
public  voidsetMovedId(int movedId)
    
public  voidsetPaginate(boolean paginate)
    
public  voidsetPostedBy(User u)
    
public  voidsetRead(boolean read)
    
public  voidsetStatus(int status)
     Sets the status.
public  voidsetTime(Date time)
     Sets the time.
public  voidsetTitle(String title)
     Sets the title.
public  voidsetTotalPages(Double total)
    
public  voidsetTotalReplies(int totalReplies)
     Sets the totalReplies.
public  voidsetTotalViews(int totalViews)
     Sets the totalViews.
public  voidsetType(int type)
     Sets the type.
public  voidsetVoteId(int voteId)
     Sets the voteId.
public  StringtoString()
    

Field Detail
STATUS_LOCKED
final public static int STATUS_LOCKED(Code)



STATUS_UNLOCKED
final public static int STATUS_UNLOCKED(Code)



TYPE_ANNOUNCE
final public static int TYPE_ANNOUNCE(Code)



TYPE_NORMAL
final public static int TYPE_NORMAL(Code)



TYPE_STICKY
final public static int TYPE_STICKY(Code)




Constructor Detail
Topic
public Topic()(Code)



Topic
public Topic(int topicId)(Code)




Method Detail
equals
public boolean equals(Object o)(Code)

See Also:   java.lang.Object.equals(java.lang.Object)



getFirstPostId
public int getFirstPostId()(Code)
Returns the ID of the firts topic int value with the ID



getFirstPostTime
public String getFirstPostTime()(Code)



getForumId
public int getForumId()(Code)
Returns the ID of the forum this topic belongs to int value with the ID



getId
public int getId()(Code)
Returns the ID of the topic int value with the ID



getLastPostBy
public User getLastPostBy()(Code)



getLastPostDate
public Date getLastPostDate()(Code)



getLastPostId
public int getLastPostId()(Code)
Teturns the ID of the last post in the topic int value with the ID



getLastPostTime
public String getLastPostTime()(Code)



getMovedId
public int getMovedId()(Code)
the movedId



getPaginate
public boolean getPaginate()(Code)



getPostedBy
public User getPostedBy()(Code)



getRead
public boolean getRead()(Code)



getStatus
public int getStatus()(Code)
Returns the status int value with the status



getTime
public Date getTime()(Code)
Returns the time the topic was posted int value representing the time



getTitle
public String getTitle()(Code)
Returns the title of the topci String with the topic title



getTotalPages
public Double getTotalPages()(Code)



getTotalReplies
public int getTotalReplies()(Code)
Returns the total number of replies int value with the total



getTotalViews
public int getTotalViews()(Code)
Returns the total number of views int value with the total number of views



getType
public int getType()(Code)
Returns the type int value representing the type



getVoteId
public int getVoteId()(Code)
Is a votation topic? If so, this is the vote Id boolean value



hasAttach
public boolean hasAttach()(Code)



hashCode
public int hashCode()(Code)

See Also:   java.lang.Object.hashCode



isHot
public boolean isHot()(Code)



isModerated
public boolean isModerated()(Code)



isVote
public boolean isVote()(Code)
Is a votation topic? boolean value



setFirstPostId
public void setFirstPostId(int firstPostId)(Code)
Sets the id of the firts post in the topic
Parameters:
  firstPostId - The post id



setFirstPostTime
public void setFirstPostTime(String d)(Code)



setForumId
public void setForumId(int idForum)(Code)
Sets the id of the forum associeted with this topic
Parameters:
  idForum - The id of the forum to set



setHasAttach
public void setHasAttach(boolean b)(Code)



setHot
public void setHot(boolean hot)(Code)



setId
public void setId(int id)(Code)
Sets the id to the topic
Parameters:
  id - The id to set



setLastPostBy
public void setLastPostBy(User u)(Code)



setLastPostDate
public void setLastPostDate(Date t)(Code)



setLastPostId
public void setLastPostId(int lastPostId)(Code)
Sets the id of the last post in the topic
Parameters:
  lastPostId - The post id



setLastPostTime
public void setLastPostTime(String d)(Code)



setModerated
public void setModerated(boolean b)(Code)

Parameters:
  b -



setMovedId
public void setMovedId(int movedId)(Code)

Parameters:
  movedId - the movedId to set



setPaginate
public void setPaginate(boolean paginate)(Code)



setPostedBy
public void setPostedBy(User u)(Code)



setRead
public void setRead(boolean read)(Code)



setStatus
public void setStatus(int status)(Code)
Sets the status.
Parameters:
  status - The status to set



setTime
public void setTime(Date time)(Code)
Sets the time.
Parameters:
  time - The time to set



setTitle
public void setTitle(String title)(Code)
Sets the title.
Parameters:
  title - The title to set



setTotalPages
public void setTotalPages(Double total)(Code)



setTotalReplies
public void setTotalReplies(int totalReplies)(Code)
Sets the totalReplies.
Parameters:
  totalReplies - The totalReplies to set



setTotalViews
public void setTotalViews(int totalViews)(Code)
Sets the totalViews.
Parameters:
  totalViews - The totalViews to set



setType
public void setType(int type)(Code)
Sets the type.
Parameters:
  type - The type to set



setVoteId
public void setVoteId(int voteId)(Code)
Sets the voteId.
Parameters:
  voteId - The voteId to set



toString
public String toString()(Code)

See Also:   java.lang.Object.toString



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.