dnet45/modules/uoa-commons/trunk/src/main/java/eu/dnetlib/utils/cql/CqlTerm.java @ 47441
1 |
package eu.dnetlib.utils.cql; |
---|---|
2 |
|
3 |
|
4 |
/**
|
5 |
* @author stoumpos
|
6 |
*
|
7 |
*/
|
8 |
public class CqlTerm extends CqlClause { |
9 |
|
10 |
String term = null; |
11 |
|
12 |
public CqlTerm() { |
13 |
this(null); |
14 |
}
|
15 |
|
16 |
public CqlTerm(String term) { |
17 |
super(CqlClauseType.TERM); |
18 |
this.term = term; |
19 |
}
|
20 |
|
21 |
public String getTerm() { |
22 |
return term; |
23 |
}
|
24 |
|
25 |
public void setTerm(String term) { |
26 |
this.term = term; |
27 |
}
|
28 |
|
29 |
@Override
|
30 |
public String toCqlString() { |
31 |
return term; |
32 |
}
|
33 |
|
34 |
@Override
|
35 |
public String toNodeString(String prefix) { |
36 |
return prefix + "term: " + toCqlString(); |
37 |
}
|
38 |
}
|
- « Previous
- 1
- …
- 8
- 9
- 10
- Next »