public class Document extends GenericModel
ConceptInsights service.| Constructor and Description |
|---|
Document()
Instantiates a new document.
|
Document(Corpus corpus,
String concept)
Instantiates a new document.
|
Document(String accountId,
String corpusName,
String document)
Instantiates a new document.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Gets the id.
|
String |
getLabel()
Gets the label.
|
Date |
getLastModified()
Gets the last modified.
|
String |
getName()
Gets the name.
|
List<Part> |
getParts()
Gets the parts.
|
Map<String,String> |
getUserFields()
Gets the user fields.
|
void |
setId(String id)
Sets the id.
|
void |
setLabel(String label)
Sets the label.
|
void |
setLastModified(Date lastModified)
Sets the last modified.
|
void |
setName(String name)
Sets the name.
|
void |
setParts(List<Part> parts)
Sets the parts.
|
void |
setUserFields(Map<String,String> userFields)
Sets the user fields.
|
equals, hashCode, toStringpublic Document()
public Document(Corpus corpus, String concept)
corpus - the corpusconcept - the conceptpublic String getId()
public String getLabel()
public Date getLastModified()
public String getName()
public Map<String,String> getUserFields()
public void setId(String id)
id - The idpublic void setLabel(String label)
label - The labelpublic void setLastModified(Date lastModified)
lastModified - The last_modifiedpublic void setName(String name)
name - The nameCopyright © 2015. All rights reserved.