|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eaglei.search.provider.SearchRequest.Term
public static class SearchRequest.Term
Represents the search focus: a search query (w/ advanced syntax) and/or an explicit entity URI. If both are specified, they are combined using an implicit OR. If an entity URI is specified, it is used to retrieve resources:
| Field Summary | |
|---|---|
static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
SearchRequest.Term(org.eaglei.model.EIURI uri)
Creates a new search term with the specified entity URI. |
|
SearchRequest.Term(SearchRequest.Term term)
Creates a deep copy of the given Term. |
|
SearchRequest.Term(java.lang.String query)
Creates a new search term with the specified query string. |
|
SearchRequest.Term(java.lang.String query,
org.eaglei.model.EIURI uri)
Creates a new search term with the specified query string and entity URI. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getQuery()
Gets the search query |
org.eaglei.model.EIURI |
getURI()
Get the URI entity used to constrain the search. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public SearchRequest.Term(java.lang.String query,
org.eaglei.model.EIURI uri)
query - Query used for a full-text searching. Must not be a zero
length string.uri - The URI of an entity (class or instance)
that is used as the target for the search
operation.public SearchRequest.Term(java.lang.String query)
query - Query used for a full-text searching.public SearchRequest.Term(org.eaglei.model.EIURI uri)
uri - The URI of a class or instance that is used as the target
for the search operation.public SearchRequest.Term(SearchRequest.Term term)
term - Term to copy| Method Detail |
|---|
public java.lang.String getQuery()
public org.eaglei.model.EIURI getURI()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||