Java Doc for DatabaseComment.java in  » Blogger-System » blojsom-3.1 » org » blojsom » blog » database » 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 » Blogger System » blojsom 3.1 » org.blojsom.blog.database 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.blojsom.blog.database.DatabaseComment

DatabaseComment
public class DatabaseComment implements Comment,Serializable(Code)
DatabaseComment
author:
   David Czarnecki
since:
   blojsom 3.0
version:
   $Id: DatabaseComment.java,v 1.8 2007/01/17 02:35:16 czarneckid Exp $


Field Summary
protected  String_author
    
protected  String_authorEmail
    
protected  String_authorURL
    
protected  Integer_blogEntryId
    
protected  Integer_blogId
    
protected  String_comment
    
protected  Date_commentDate
    
protected  Entry_entry
    
protected  Integer_id
    
protected  String_ip
    
protected  Map_metaData
    
protected  Integer_parentId
    
protected  String_status
    

Constructor Summary
public  DatabaseComment()
    

Method Summary
public  StringgetAuthor()
    
public  StringgetAuthorEmail()
    
public  StringgetAuthorURL()
    
public  IntegergetBlogEntryId()
    
public  IntegergetBlogId()
    
public  StringgetComment()
    
public  DategetCommentDate()
    
public  DategetDate()
    
public  StringgetDateAsFormat(String format)
     Return the comment date formatted with a specified date format
Parameters:
  format - Date format null if the comment date or format is null, otherwise returns the comment dateformatted to the specified format.
public  StringgetDateAsFormat(String format, Locale locale)
     Return the comment date formatted with a specified date format
Parameters:
  format - Date format
Parameters:
  locale - Locale for date formatting null if the entry date or format is null, otherwise returns the entry date formatted to the specified format.
public  EntrygetEntry()
    
public  StringgetEscapedAuthor()
    
public  StringgetEscapedAuthorEmail()
    
public  StringgetEscapedAuthorURL()
    
public  StringgetEscapedComment()
    
public  StringgetISO8601Date()
    
public  IntegergetId()
    
public  StringgetIp()
    
public  MapgetMetaData()
    
public  IntegergetParentId()
    
public  StringgetRFC822Date()
    
public  StringgetStatus()
    
public  StringgetType()
    
public  voidsetAuthor(String author)
    
public  voidsetAuthorEmail(String authorEmail)
    
public  voidsetAuthorURL(String authorURL)
    
public  voidsetBlogEntryId(Integer blogEntryId)
    
public  voidsetBlogId(Integer blogId)
    
public  voidsetComment(String comment)
    
public  voidsetCommentDate(Date commentDate)
    
public  voidsetEntry(Entry entry)
    
public  voidsetId(Integer id)
     Set the id of this blog comment.
public  voidsetIp(String ip)
    
public  voidsetMetaData(Map metaData)
    
public  voidsetParentId(Integer parentId)
    
public  voidsetStatus(String status)
    

Field Detail
_author
protected String _author(Code)



_authorEmail
protected String _authorEmail(Code)



_authorURL
protected String _authorURL(Code)



_blogEntryId
protected Integer _blogEntryId(Code)



_blogId
protected Integer _blogId(Code)



_comment
protected String _comment(Code)



_commentDate
protected Date _commentDate(Code)



_entry
protected Entry _entry(Code)



_id
protected Integer _id(Code)



_ip
protected String _ip(Code)



_metaData
protected Map _metaData(Code)



_parentId
protected Integer _parentId(Code)



_status
protected String _status(Code)




Constructor Detail
DatabaseComment
public DatabaseComment()(Code)
Create a new instance of the database comment




Method Detail
getAuthor
public String getAuthor()(Code)
Get the author of the comment Comment author



getAuthorEmail
public String getAuthorEmail()(Code)
Get the e-mail of the author of the comment Author's e-mail



getAuthorURL
public String getAuthorURL()(Code)
Get the URL of the author Author's URL



getBlogEntryId
public Integer getBlogEntryId()(Code)
Get the blog entry ID Blog entry ID



getBlogId
public Integer getBlogId()(Code)
Get the blog ID Blog ID



getComment
public String getComment()(Code)
Get the comment Comment



getCommentDate
public Date getCommentDate()(Code)
Get the date the comment was entered Comment date



getDate
public Date getDate()(Code)
Retrieve the date for this object Date



getDateAsFormat
public String getDateAsFormat(String format)(Code)
Return the comment date formatted with a specified date format
Parameters:
  format - Date format null if the comment date or format is null, otherwise returns the comment dateformatted to the specified format. If the format is invalid, returns commentDate.toString()



getDateAsFormat
public String getDateAsFormat(String format, Locale locale)(Code)
Return the comment date formatted with a specified date format
Parameters:
  format - Date format
Parameters:
  locale - Locale for date formatting null if the entry date or format is null, otherwise returns the entry date formatted to the specified format. If the format is invalid, returns commentDate.toString()



getEntry
public Entry getEntry()(Code)
Get the Entry Entry



getEscapedAuthor
public String getEscapedAuthor()(Code)
Get the author as an escaped string Escaped author



getEscapedAuthorEmail
public String getEscapedAuthorEmail()(Code)
Get the escaped e-mail of the author of the comment Escaped author e-mail



getEscapedAuthorURL
public String getEscapedAuthorURL()(Code)
Get the escaped URL of the author Escaped URL



getEscapedComment
public String getEscapedComment()(Code)
Get the comment as a escaped string Escaped Comment



getISO8601Date
public String getISO8601Date()(Code)
Return an ISO 8601 style date http://www.w3.org/TR/NOTE-datetime Date formatted in ISO 8601 format



getId
public Integer getId()(Code)
Get the id of this blog comment Id



getIp
public String getIp()(Code)
Get the IP IP



getMetaData
public Map getMetaData()(Code)
Get the comment meta-data Meta-data as a Map



getParentId
public Integer getParentId()(Code)
Get the comment parent ID Comment parent ID



getRFC822Date
public String getRFC822Date()(Code)
Return an RFC 822 style date Date formatted in RFC 822 format



getStatus
public String getStatus()(Code)
Get the status Status



getType
public String getType()(Code)
Get the response type Response type



setAuthor
public void setAuthor(String author)(Code)
Set the author of the comment
Parameters:
  author - Comment's new author



setAuthorEmail
public void setAuthorEmail(String authorEmail)(Code)
Set the e-mail of the author of the comment
Parameters:
  authorEmail - Author's new e-mail



setAuthorURL
public void setAuthorURL(String authorURL)(Code)
Set the URL for the author
Parameters:
  authorURL - New URL for the author



setBlogEntryId
public void setBlogEntryId(Integer blogEntryId)(Code)
Set the blog entry ID
Parameters:
  blogEntryId - Blog entry ID



setBlogId
public void setBlogId(Integer blogId)(Code)
Set the blog ID
Parameters:
  blogId - Blog ID



setComment
public void setComment(String comment)(Code)
Set the new comment
Parameters:
  comment - New comment



setCommentDate
public void setCommentDate(Date commentDate)(Code)
Set the date for the comment
Parameters:
  commentDate - Comment date



setEntry
public void setEntry(Entry entry)(Code)
Set the Entry
Parameters:
  entry - Entry



setId
public void setId(Integer id)(Code)
Set the id of this blog comment. This method can only be called if the id has not been set.
Parameters:
  id - New id



setIp
public void setIp(String ip)(Code)
Set the IP
Parameters:
  ip - IP



setMetaData
public void setMetaData(Map metaData)(Code)
Set the comment meta-data
Parameters:
  metaData - Map containing meta-data for this comment



setParentId
public void setParentId(Integer parentId)(Code)
Set the comment parent ID
Parameters:
  parentId - Comment parent ID



setStatus
public void setStatus(String status)(Code)
Set the status
Parameters:
  status - Status



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.