|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.daum.dna.api.vo.blog.BlogComments
public class BlogComments
The Class Comments.
Constructor Summary | |
---|---|
BlogComments()
Comments 객체를 생성한다. |
|
BlogComments(int status,
int totalCount,
java.util.List<BlogComment> comments)
Comments 객체를 생성하고 parameter값으로 초기화한다. |
Method Summary | |
---|---|
void |
addComment(BlogComment comment)
코멘트를 추가합니다. |
BlogComment |
getComment(int index)
특정 index의 코멘트를 얻습니다. |
java.util.List<BlogComment> |
getComments()
코멘트 목록을 반환합니다. |
int |
getStatus()
응답코드를 반환합니다. |
int |
getTotalCount()
총 댓글 수 를 반환합니다. |
void |
setComments(java.util.List<BlogComment> comments)
코멘트 목록을 넣습니다. |
void |
setStatus(int status)
응답코드를 넣습니다. |
void |
setTotalCount(int totalCount)
총 댓글 수를 넣습니다. |
java.lang.String |
toString()
Comments 객체 에 있는 값들을 string 형태로 출력한다. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BlogComments()
public BlogComments(int status, int totalCount, java.util.List<BlogComment> comments)
status
- 응답코드totalCount
- 총 댓글 수comments
- 코멘트 목록Method Detail |
---|
public int getStatus()
public void setStatus(int status)
status
- 응답코드public int getTotalCount()
public void setTotalCount(int totalCount)
totalCount
- 총 댓글 수public java.util.List<BlogComment> getComments()
public void setComments(java.util.List<BlogComment> comments)
comments
- 코멘트 목록public void addComment(BlogComment comment)
comment
- 코멘트public BlogComment getComment(int index)
index
- the index
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |