public class TypedEntity extends GenericModel
AlchemyLanguage.getTypedRelations(java.util.Map)
.Constructor and Description |
---|
TypedEntity() |
Modifier and Type | Method and Description |
---|---|
String |
getId()
Gets the id.
|
String |
getText()
Gets the text.
|
String |
getType()
Gets the type.
|
void |
setId(String id)
Sets the id.
|
void |
setText(String text)
Sets the text.
|
void |
setType(String type)
Sets the type.
|
equals, hashCode, toString
public String getText()
public void setText(String text)
text
- The textpublic String getType()
public void setType(String type)
type
- The typepublic String getId()
public void setId(String id)
id
- The idCopyright © 2015–2016 IBM Watson. All rights reserved.