public class Post extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
AUTHOR_BOT |
static int |
AUTHOR_USER |
| Constructor and Description |
|---|
Post() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAuthor()
Returns the Author
|
String |
getContent()
Returns the Content
|
void |
setAuthor(int nAuthor)
Sets the Author
|
void |
setContent(String strContent)
Sets the Content
|
public static final int AUTHOR_BOT
public static final int AUTHOR_USER
public String getContent()
public void setContent(String strContent)
strContent - The Contentpublic int getAuthor()
public void setAuthor(int nAuthor)
nAuthor - The AuthorCopyright © 2017 City of Paris. All rights reserved.