public class SubstanceByCategoryFacet extends AbstractFacet<String>
Modifier and Type | Field and Description |
---|---|
protected BundleRoleFacet |
bundleRole |
protected List<BundleRoleFacet> |
bundles |
protected Protocol._categories |
endpoint |
protected String |
subcategory |
protected int |
substancesCount |
count, url, value
Constructor and Description |
---|
SubstanceByCategoryFacet(String facetURL) |
Modifier and Type | Method and Description |
---|---|
void |
addFacet(BundleRoleFacet facet) |
void |
clearFacets() |
BundleRoleFacet |
getBundleRole() |
Protocol._categories |
getEndpoint() |
Iterable<BundleRoleFacet> |
getFacets() |
String |
getSubcategoryTitle() |
String |
getSubCategoryURL(String... params) |
int |
getSubstancesCount() |
String |
getValue() |
void |
removeFacet(BundleRoleFacet facet) |
void |
setBundleRole(BundleRoleFacet bundleRole) |
void |
setSubcategoryTitle(String subcategory) |
void |
setSubstancesCount(int substancesCount) |
void |
setValue(String value) |
String |
toJSON(String uri,
String subcategory) |
getCount, getResultsURL, getTitle, getURL, setCount, toString
protected BundleRoleFacet bundleRole
protected String subcategory
protected Protocol._categories endpoint
protected int substancesCount
protected List<BundleRoleFacet> bundles
public SubstanceByCategoryFacet(String facetURL)
public BundleRoleFacet getBundleRole()
public void setBundleRole(BundleRoleFacet bundleRole)
public int getSubstancesCount()
public void setSubstancesCount(int substancesCount)
public Protocol._categories getEndpoint()
public void setValue(String value)
setValue
in interface net.idea.modbcum.i.facet.IFacet<String>
setValue
in class AbstractFacet<String>
public String getValue()
getValue
in interface net.idea.modbcum.i.facet.IFacet<String>
getValue
in class AbstractFacet<String>
public void setSubcategoryTitle(String subcategory)
public String getSubcategoryTitle()
getSubcategoryTitle
in interface net.idea.modbcum.i.facet.IFacet<String>
getSubcategoryTitle
in class AbstractFacet<String>
public String getSubCategoryURL(String... params)
getSubCategoryURL
in interface net.idea.modbcum.i.facet.IFacet<String>
getSubCategoryURL
in class AbstractFacet<String>
public String toJSON(String uri, String subcategory)
toJSON
in interface net.idea.modbcum.i.facet.IFacet<String>
toJSON
in class AbstractFacet<String>
public void addFacet(BundleRoleFacet facet)
public void clearFacets()
public Iterable<BundleRoleFacet> getFacets()
public void removeFacet(BundleRoleFacet facet)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.