public class CommentDTO extends Object
| Constructor and Description |
|---|
CommentDTO()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAuthor()
Getter for author.
|
List<CommentDTO> |
getChildren()
Getter for children.
|
String |
getContent()
Getter for content.
|
Date |
getCreationDate()
Getter for creationDate.
|
String |
getId()
Getter for id.
|
String |
getPath()
Getter for path.
|
org.osivia.portal.api.directory.v2.model.Person |
getPerson()
Getter for person.
|
int |
hashCode() |
boolean |
isDeletable()
Getter for deletable.
|
void |
setAuthor(String author)
Setter for author.
|
void |
setContent(String content)
Setter for content.
|
void |
setCreationDate(Date creationDate)
Setter for creationDate.
|
void |
setDeletable(boolean deletable)
Setter for deletable.
|
void |
setId(String id)
Setter for id.
|
void |
setPath(String path)
Setter for path.
|
void |
setPerson(org.osivia.portal.api.directory.v2.model.Person person)
Setter for person.
|
String |
toString() |
public String getId()
public void setId(String id)
id - the id to setpublic String getPath()
public void setPath(String path)
path - the path to setpublic String getAuthor()
public void setAuthor(String author)
author - the author to setpublic org.osivia.portal.api.directory.v2.model.Person getPerson()
public void setPerson(org.osivia.portal.api.directory.v2.model.Person person)
person - the person to setpublic Date getCreationDate()
public void setCreationDate(Date creationDate)
creationDate - the creationDate to setpublic String getContent()
public void setContent(String content)
content - the content to setpublic boolean isDeletable()
public void setDeletable(boolean deletable)
deletable - the deletable to setpublic List<CommentDTO> getChildren()
Copyright © 2019. All rights reserved.