public class SourceQueryBuilder extends Object
| Constructor and Description |
|---|
SourceQueryBuilder(org.gcube.common.clients.fw.queries.StatefulQuery query) |
| Modifier and Type | Method and Description |
|---|---|
org.gcube.common.clients.fw.queries.StatefulQuery |
build()
Returns the query.
|
SourceQueryBuilder |
withId(String id)
Sets a source identifier on the query.
|
SourceQueryBuilder |
withName(String name)
Sets a source name on the query.
|
SourceQueryBuilder |
withType(QName type)
Sets a source type on the query.
|
public SourceQueryBuilder(org.gcube.common.clients.fw.queries.StatefulQuery query)
public SourceQueryBuilder withId(String id)
id - the identifierpublic SourceQueryBuilder withName(String name)
name - the namepublic SourceQueryBuilder withType(QName type)
name - the typepublic org.gcube.common.clients.fw.queries.StatefulQuery build()
Copyright © 2014. All Rights Reserved.