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