GNDMS 0.6.0
RESTful verison of GNDMS
Public Member Functions | Private Attributes

de.zib.gndms.common.rest.Facets Class Reference

Class for a list of facets. More...

List of all members.

Public Member Functions

 Facets ()
 The constructor.
 Facets (final List< Facet > facets)
 The constructor setting the given facets.
final List< FacetgetFacets ()
 Returns all facets.
final void setFacets (final List< Facet > facets)
 Sets all facets.
final Facet findFacet (final String fn)
 Searches for the facet of a given facet name.

Private Attributes

List< Facetfacets
 The list of all facets.

Detailed Description

Class for a list of facets.

Author:
try ma ik jo rr a zib
Version:
$Id$

Date: 26.01.11, Time: 14:15


Constructor & Destructor Documentation

de.zib.gndms.common.rest.Facets.Facets ( final List< Facet facets)

The constructor setting the given facets.

Parameters:
facetsThe list of facets.

Member Function Documentation

final Facet de.zib.gndms.common.rest.Facets.findFacet ( final String  fn)

Searches for the facet of a given facet name.

Parameters:
fnThe facets name
Returns:
The url of the facet or null.

Note: this method is expensive on a large set of facets.

final List<Facet> de.zib.gndms.common.rest.Facets.getFacets ( )

Returns all facets.

Returns:
The list of facets.
final void de.zib.gndms.common.rest.Facets.setFacets ( final List< Facet facets)

Sets all facets.

Parameters:
facetsThe list of facets.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations