public class NotificationQuery extends Object implements Comparable<NotificationQuery>
eu.dnetlib.api.functionality.NotificationService,
eu.dnetlib.functionality.notification.executor.NotificationQueryExecutor,
NotificationSchedule,
NotificationEvent,
NotificationResult,
NotificationSubscription| Constructor and Description |
|---|
NotificationQuery()
Construct a new notification query with query identifier, query language, source URI and query string set to null.
|
NotificationQuery(String queryId,
String queryLanguage,
URI sourceUri,
String queryString)
Construct a new notification query.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(NotificationQuery query) |
boolean |
equals(Object object) |
String |
getQueryId()
Get the unique identifier of this query.
|
String |
getQueryLanguage()
Get the query language of this query.
|
String |
getQueryString()
Get the query string of this query.
|
URI |
getSourceUri()
Get the source URI of this query.
|
int |
hashCode() |
void |
setQueryId(String queryId)
Set the unique identifier of this query.
|
void |
setQueryLanguage(String queryLanguage)
Set the the query language of this query
|
void |
setQueryString(String queryString)
Set the query string of this query.
|
void |
setSourceUri(URI sourceUri)
Set the source URI of this query.
|
String |
toString() |
public NotificationQuery(String queryId, String queryLanguage, URI sourceUri, String queryString)
queryId - unique identifier of this queryqueryLanguage - the language in which the query is expressed, determines which executor to usesourceUri - the URI of the data source that can answer the queryqueryString - the actual querypublic NotificationQuery()
public String getQueryId()
public void setQueryId(String queryId)
queryId - the unique identifier of this querypublic String getQueryLanguage()
public void setQueryLanguage(String queryLanguage)
queryLanguage - the query language of this querypublic URI getSourceUri()
public void setSourceUri(URI sourceUri)
sourceUri - the URI of the data source of this querypublic String getQueryString()
public void setQueryString(String queryString)
queryString - the query string of this querypublic int compareTo(NotificationQuery query)
compareTo in interface Comparable<NotificationQuery>Copyright © 2017. All rights reserved.