|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eaglei.lexical.EntityMatchRequest
public class EntityMatchRequest
Represents an entity extraction request.
| Field Summary | |
|---|---|
static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
EntityMatchRequest(java.lang.String text)
Creates a request for a specific text string. |
|
EntityMatchRequest(java.lang.String text,
org.eaglei.model.EIURI uri)
Creates a request for a specific text string and type URI constraint |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
int |
getMaxMatches()
Gets the max number of matches. |
java.lang.String |
getText()
Gets the text to match. |
org.eaglei.model.EIURI |
getURI()
Get the URI for the eagle-i ontology entity used to constrain the match. |
int |
hashCode()
|
void |
setMaxMatches(int maxMatches)
Sets the maximum matches to return. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public EntityMatchRequest(java.lang.String text)
text - Text to match.
public EntityMatchRequest(java.lang.String text,
org.eaglei.model.EIURI uri)
text - Text to match.uri - URI of class that constrains the matches.| Method Detail |
|---|
public java.lang.String getText()
public org.eaglei.model.EIURI getURI()
public int getMaxMatches()
public void setMaxMatches(int maxMatches)
maxMatches - Maximum number of matches to return.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||