public class Classification extends GenericModel
NaturalLanguageClassifier
service.Constructor and Description |
---|
Classification() |
Modifier and Type | Method and Description |
---|---|
List<ClassifiedClass> |
getClasses()
Gets the classes.
|
String |
getId()
Gets the id.
|
String |
getText()
Gets the text.
|
String |
getTopClass()
Gets the top lass.
|
String |
getUrl()
Gets the url.
|
void |
setClasses(List<ClassifiedClass> classes)
Sets the classes.
|
void |
setId(String id)
Sets the id.
|
void |
setText(String text)
Sets the text.
|
void |
setTopClass(String topClass)
Sets the top class.
|
void |
setUrl(String url)
Sets the url.
|
equals, hashCode, toString
public List<ClassifiedClass> getClasses()
public String getId()
public String getText()
public String getTopClass()
public String getUrl()
public void setClasses(List<ClassifiedClass> classes)
classes
- the new classespublic void setId(String id)
id
- the new idpublic void setText(String text)
text
- the new textpublic void setTopClass(String topClass)
topClass
- class the new top classpublic void setUrl(String url)
url
- the new urlCopyright © 2015–2016 IBM Watson. All rights reserved.