public abstract class AbstractFacet<T> extends Object implements net.idea.modbcum.i.facet.IFacet<T>
Modifier and Type | Field and Description |
---|---|
protected int |
count |
protected String |
url |
protected T |
value |
Constructor and Description |
---|
AbstractFacet() |
AbstractFacet(String url) |
Modifier and Type | Method and Description |
---|---|
int |
getCount() |
String |
getResultsURL(String... params) |
String |
getSubcategoryTitle() |
String |
getSubCategoryURL(String... params) |
String |
getTitle() |
String |
getURL() |
T |
getValue() |
void |
setCount(int count) |
void |
setValue(T value) |
String |
toJSON(String uri,
String subcategory) |
String |
toString() |
public AbstractFacet()
public AbstractFacet(String url)
public int getCount()
getCount
in interface net.idea.modbcum.i.facet.IFacet<T>
public void setCount(int count)
setCount
in interface net.idea.modbcum.i.facet.IFacet<T>
public void setValue(T value)
setValue
in interface net.idea.modbcum.i.facet.IFacet<T>
public String getResultsURL(String... params)
getResultsURL
in interface net.idea.modbcum.i.facet.IFacet<T>
public String getSubCategoryURL(String... params)
getSubCategoryURL
in interface net.idea.modbcum.i.facet.IFacet<T>
public String getSubcategoryTitle()
getSubcategoryTitle
in interface net.idea.modbcum.i.facet.IFacet<T>
public String getTitle()
getTitle
in interface net.idea.modbcum.i.facet.IFacet<T>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.