com.facetmap.sql
Class SpectrumHeadingImpl
java.lang.Object
com.facetmap.simple.SimpleHeading
com.facetmap.simple.SimpleTaxonomyHeading
com.facetmap.sql.IndexedHeading
com.facetmap.sql.SpectrumHeadingImpl
- All Implemented Interfaces:
- Heading, SpectrumHeading, SqlHeading, TaxonomyHeading
public class SpectrumHeadingImpl
- extends IndexedHeading
- implements SpectrumHeading
|
Method Summary |
int |
getMaximum()
|
int |
getMinimum()
|
java.lang.String |
getTitle()
If no title has been given, the Heading will construct a title
based on its range values and its spectrum's title template. |
| Methods inherited from class com.facetmap.simple.SimpleTaxonomyHeading |
getBackwardHeading, getBackwardHeadings, getChildCount, getFacet, getForwardHeadings, getParent, getSimpleTaxonomyFacet, getTreeNode, setSimpleTaxonomyFacet, setTreeNode, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SpectrumHeadingImpl
public SpectrumHeadingImpl(SpectrumImpl spect,
int min,
int max)
- Constructs an implicit heading with no set ID, just minimum and
maximum values.
SpectrumHeadingImpl
protected SpectrumHeadingImpl(SpectrumHeading sourceHeading)
SpectrumHeadingImpl
public SpectrumHeadingImpl(SpectrumImpl spect,
java.lang.String id,
java.lang.String title,
int min,
int max)
- Constructs an explicit heading that is retrievable by ID. A title
argument may be provided, or it may be left null, in which case
the title will be created automatically; see getTitle() .
getMinimum
public int getMinimum()
- Specified by:
getMinimum in interface SpectrumHeading
getMaximum
public int getMaximum()
- Specified by:
getMaximum in interface SpectrumHeading
getTitle
public java.lang.String getTitle()
- If no title has been given, the Heading will construct a title
based on its range values and its spectrum's title template.
- Specified by:
getTitle in interface Heading- Overrides:
getTitle in class SimpleHeading