public class ContentItem extends GenericModel
Constructor and Description |
---|
ContentItem() |
Modifier and Type | Method and Description |
---|---|
ContentItem |
charset(java.lang.String charset)
Deprecated.
|
ContentItem |
content(java.lang.String content)
Deprecated.
|
ContentItem |
contentType(java.lang.String contentType)
Deprecated.
|
ContentItem |
created(java.util.Date created)
Deprecated.
|
ContentItem |
forward(boolean forward)
Deprecated.
|
java.lang.String |
getCharset()
Gets the character set of the text, for example, "UTF-8".
|
java.lang.String |
getContent()
Gets the content to be analyzed.
|
java.lang.String |
getContenttype()
Deprecated.
|
java.lang.String |
getContentType()
Gets the MIME type of the content, for example, "text/plain, text/html".
|
java.util.Date |
getCreated()
Gets the date that identifies when this content was created.
|
java.lang.String |
getId()
Gets the unique identifier for this content item.
|
java.lang.String |
getLanguage()
Gets the language identifier (two-letter ISO 639-1 identifier).
|
java.lang.String |
getParentid()
Deprecated.
|
java.lang.String |
getParentId()
Gets the unique id of the parent content item.
|
java.lang.String |
getSourceid()
Deprecated.
|
java.lang.String |
getSourceId()
Gets the identifier for the source of this content.
|
java.util.Date |
getUpdated()
Gets the date that identifies when this content was last updated.
|
java.lang.String |
getUserid()
Deprecated.
|
java.lang.String |
getUserId()
Gets the unique identifier for the author of this content.
|
ContentItem |
id(java.lang.String id)
Deprecated.
|
boolean |
isForward()
Indicates whether this content item is a forwarded/copied version of another content item.
|
boolean |
isReply()
Indicates whether this content item is a reply to another content item.
|
ContentItem |
language(java.lang.String language)
Deprecated.
|
ContentItem |
parentid(java.lang.String parentId)
Deprecated.
|
ContentItem |
reply(boolean reply)
Deprecated.
|
void |
setCharset(java.lang.String charset)
Sets the character set of the text, for example, "UTF-8".
|
void |
setContent(java.lang.String content)
Sets the content to be analyzed.
|
void |
setContenttype(java.lang.String contentType)
Deprecated.
|
void |
setContentType(java.lang.String contentType)
Sets the MIME type of the content, for example, "text/plain, text/html".
|
void |
setCreated(java.util.Date created)
Sets the date that identifies when this content was created.
|
void |
setForward(boolean forward)
Indicates whether this content item is a forwarded/copied version of another content item.
|
void |
setId(java.lang.String id)
Sets the unique identifier for this content item.
|
void |
setLanguage(java.lang.String language)
Sets the language identifier (two-letter ISO 639-1 identifier).
|
void |
setParentid(java.lang.String parentId)
Deprecated.
|
void |
setParentId(java.lang.String parentId)
Sets the unique id of the parent content item.
|
void |
setReply(boolean reply)
Indicates whether this content item is a reply to another content item.
|
void |
setSourceid(java.lang.String sourceId)
Deprecated.
|
void |
setSourceId(java.lang.String sourceId)
Sets the identifier for the source of this content.
|
void |
setUpdated(java.util.Date updated)
Sets the date that identifies when this content was last updated..
|
void |
setUserid(java.lang.String userId)
Deprecated.
|
void |
setUserId(java.lang.String userId)
Sets the unique identifier for the author of this content.
|
ContentItem |
sourceid(java.lang.String sourceId)
Deprecated.
|
ContentItem |
updated(java.util.Date updated)
Deprecated.
|
ContentItem |
userid(java.lang.String userId)
Deprecated.
|
equals, hashCode, toString
@Deprecated public ContentItem charset(java.lang.String charset)
charset
- the new character set of the text, for example, "UTF-8"@Deprecated public ContentItem content(java.lang.String content)
content
- the content@Deprecated public ContentItem contentType(java.lang.String contentType)
contentType
- the new MIME type of the content@Deprecated public ContentItem created(java.util.Date created)
created
- the new created date@Deprecated public ContentItem forward(boolean forward)
forward
- set true if the content is a forwarded/copied version of another content item.public java.lang.String getCharset()
public java.lang.String getContent()
@Deprecated public java.lang.String getContenttype()
public java.util.Date getCreated()
public java.lang.String getId()
public java.lang.String getLanguage()
@Deprecated public java.lang.String getParentid()
@Deprecated public java.lang.String getSourceid()
public java.util.Date getUpdated()
@Deprecated public java.lang.String getUserid()
@Deprecated public ContentItem id(java.lang.String id)
id
- the unique identifierpublic boolean isForward()
public boolean isReply()
@Deprecated public ContentItem language(java.lang.String language)
language
- the language charset (two-letter ISO 639-1 identifier)@Deprecated public ContentItem parentid(java.lang.String parentId)
parentId
- the parent identifier@Deprecated public ContentItem reply(boolean reply)
reply
- true if is a replypublic void setCharset(java.lang.String charset)
charset
- the new character set of the text, for example, "UTF-8"public void setContent(java.lang.String content)
content
- the new content@Deprecated public void setContenttype(java.lang.String contentType)
contentType
- the new MIME type of the contentpublic void setCreated(java.util.Date created)
created
- the new created datepublic void setForward(boolean forward)
forward
- set true if the content is a forwarded/copied version of another content item.public void setId(java.lang.String id)
id
- the unique identifierpublic void setLanguage(java.lang.String language)
language
- the language charset (two-letter ISO 639-1 identifier)@Deprecated public void setParentid(java.lang.String parentId)
parentId
- the parent identifierpublic void setReply(boolean reply)
reply
- true if is a reply@Deprecated public void setSourceid(java.lang.String sourceId)
sourceId
- the source identifierpublic void setUpdated(java.util.Date updated)
updated
- the updated date@Deprecated public void setUserid(java.lang.String userId)
userId
- the new user identifier@Deprecated public ContentItem sourceid(java.lang.String sourceId)
sourceId
- the source identifier@Deprecated public ContentItem updated(java.util.Date updated)
updated
- the updated date@Deprecated public ContentItem userid(java.lang.String userId)
userId
- the new user identifierpublic java.lang.String getContentType()
public void setContentType(java.lang.String contentType)
contentType
- the new MIME type of the contentpublic java.lang.String getParentId()
public void setParentId(java.lang.String parentId)
parentId
- the parent identifierpublic java.lang.String getSourceId()
public void setSourceId(java.lang.String sourceId)
sourceId
- the source identifierpublic java.lang.String getUserId()
public void setUserId(java.lang.String userId)
userId
- the new user identifier