public class FacetSpec extends Object implements Comparable<FacetSpec>
| Constructor and Description |
|---|
FacetSpec(String name,
String varname,
String propertyPath)
Create a facet specification
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(FacetSpec arg0) |
String |
getName() |
String |
getPropertyPath() |
com.hp.hpl.jena.rdf.model.RDFNode |
getValue() |
String |
getVarname() |
boolean |
isSet() |
String |
query()
Generate a SPARQL query fragment which returns the value for this facet, filtering if necessary
|
void |
setValue(com.hp.hpl.jena.rdf.model.RDFNode value) |
public FacetSpec(String name, String varname, String propertyPath)
name - the label of the facet, will be displayedvarname - short name for the facet which will be used in state serializationpropertyPath - sparql property path which links an item to the facet valuepublic String query()
public int compareTo(FacetSpec arg0)
compareTo in interface Comparable<FacetSpec>public boolean isSet()
public void setValue(com.hp.hpl.jena.rdf.model.RDFNode value)
public String getName()
public String getPropertyPath()
public com.hp.hpl.jena.rdf.model.RDFNode getValue()
public String getVarname()
Copyright © 2014. All rights reserved.