public class Facet extends Object implements Comparable<Facet>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Facet arg0) |
String |
getName()
Return the name of this facet
|
com.hp.hpl.jena.rdf.model.RDFNode |
getValue()
Return the value, if any, which this facet has been assigned by state
|
String |
getValueLexicalForm() |
List<FacetValue> |
getValues()
Return an ordered list of value objects for this facet
|
String |
getVarname()
Return the variable name used for this facet in the query
|
void |
inc(com.hp.hpl.jena.rdf.model.RDFNode item) |
boolean |
isSet()
Return true if this facet is set of a value by the facet state
|
boolean |
notEmpty()
Return true if this facet is not empty (either has been selected or has a non-empty set of value options
|
void |
setFixedValue(com.hp.hpl.jena.rdf.model.RDFNode value)
Record that this facet has been forced to a single value by the facet state
|
public Facet(FacetSpec spec)
public void setFixedValue(com.hp.hpl.jena.rdf.model.RDFNode value)
public boolean isSet()
public com.hp.hpl.jena.rdf.model.RDFNode getValue()
public String getValueLexicalForm()
public void inc(com.hp.hpl.jena.rdf.model.RDFNode item)
public boolean notEmpty()
public String getName()
public String getVarname()
public List<FacetValue> getValues()
public int compareTo(Facet arg0)
compareTo in interface Comparable<Facet>Copyright © 2014. All rights reserved.