fleXplorer.Facets
Interface IFacet<Type extends FacetsType>

All Known Implementing Classes:
Facet

public interface IFacet<Type extends FacetsType>

Version:
1.1
Author:
Nikos Armenatzoglou

Method Summary
 java.lang.String getFacetName()
          Returns the name of Facet.
 Taxonomy<?> getFacetTaxonomy()
          Returns Taxonomy of Facet.
 IndexType getIndexType()
          Returns the type of indexes of the Facet.
 void setFacetName(java.lang.String name)
          Defines the name of Facet.
 void setFacetTaxonomy(Taxonomy<?> taxonomy)
          Defines the Taxonomy of Facet.
 void setIndexType(IndexType type)
          Define the type of indexes of the Facet.
 

Method Detail

setFacetName

void setFacetName(java.lang.String name)
Defines the name of Facet.
Preconditions: Facet and argument must not be null.
Postconditions: Defines Facet's name as the value of argument.

Parameters:
name - Name of Facet.

getFacetName

java.lang.String getFacetName()
Returns the name of Facet.
Preconditions: Facet must not be null.
Postconditions: Returns the value of private variable name.

Returns:
the name of Facet.

setFacetTaxonomy

void setFacetTaxonomy(Taxonomy<?> taxonomy)
Defines the Taxonomy of Facet.
Preconditions: Facet, taxonomy of Facet and argument must not be null.
Postconditions: Defines Facet's taxonomy as the value of the argument.

Parameters:
taxonomy - the new Taxonomy of Facet.

getFacetTaxonomy

Taxonomy<?> getFacetTaxonomy()
Returns Taxonomy of Facet.
Preconditions: Facet must not be null.
Postconditions: Returns the value of private variable tx.

Returns:
Taxonomy of Facet.

setIndexType

void setIndexType(IndexType type)
Define the type of indexes of the Facet.
Preconditions: Facet and argument must not be null.
Postconditions: Defines the type of the facet as the value of argument.

Parameters:
type - the type of indexes.

getIndexType

IndexType getIndexType()
Returns the type of indexes of the Facet.
Preconditions: Always true.
Postconditions: Returns the value of private variable type.

Returns:
the type of the indexes of the Facet.