|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.open.kmi.watson.services.EntityResult
public class EntityResult
Contains information about entities in the result of a search.
| Constructor Summary | |
|---|---|
EntityResult(java.lang.String URI)
build the entity from its URI |
|
| Method Summary | |
|---|---|
java.lang.String |
getComment()
returns the comment of the entity, or null if this information has not been requested |
java.lang.String |
getLabel()
returns the label of the entity, or null if this information has not been requested |
java.lang.String[][] |
getLiterals()
returns the relations to literals of the entity, or null if this information has not been requested |
java.lang.String[][] |
getRelationFrom()
returns the relations from the entity, i.e. |
java.lang.String[][] |
getRelationTo()
returns the relations to the entity, i.e the property and subject of statements for which the entity is object, or null if this information has not been requested |
java.lang.String |
getType()
returns the type (class, property or individual) of the entity, or null if this information has not been requested |
java.lang.String |
getURI()
returns the URI of the entity |
void |
setComment(java.lang.String comment)
set the comment of the entity. |
void |
setLabel(java.lang.String label)
set the label of the entity. |
void |
setLiterals(java.lang.String[][] literals)
set the literal relations of the entity. |
void |
setRelationFrom(java.lang.String[][] relationFrom)
set the relations from the entity. |
void |
setRelationTo(java.lang.String[][] relationTo)
set the relations to the entity. |
void |
setType(java.lang.String type)
set the type of the entity. |
void |
setURI(java.lang.String URI)
set the URI of the entity. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EntityResult(java.lang.String URI)
| Method Detail |
|---|
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
public java.lang.String getURI()
public void setURI(java.lang.String URI)
public java.lang.String getType()
public void setType(java.lang.String type)
public java.lang.String[][] getLiterals()
public void setLiterals(java.lang.String[][] literals)
public java.lang.String[][] getRelationTo()
public void setRelationTo(java.lang.String[][] relationTo)
public java.lang.String[][] getRelationFrom()
public void setRelationFrom(java.lang.String[][] relationFrom)
public java.lang.String getComment()
public void setComment(java.lang.String comment)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||