se.kb.oai.pmh
Class Set

java.lang.Object
  extended by se.kb.oai.pmh.Set

public class Set
extends Object

A set is a tool for selective harvesting from a repository. A record can be a member of one or more sets. This class represents a specific set.

Author:
Oskar Grenholm, National Library of Sweden

Constructor Summary
Set(Node node)
          Create a Set from the <set> element of a ListSets response.
 
Method Summary
 List<Element> getDescriptions()
          Get the descriptions of this set.
 String getName()
          Get the name of this set.
 String getSpec()
          Get the set spec (a short name or id for the set).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Set

public Set(Node node)
Create a Set from the <set> element of a ListSets response.

Parameters:
node -
Method Detail

getSpec

public String getSpec()
Get the set spec (a short name or id for the set). This is used in the queries that take a set parameter.

Returns:
the set spec

getName

public String getName()
Get the name of this set.

Returns:
the name

getDescriptions

public List<Element> getDescriptions()
Get the descriptions of this set.

Returns:
a list of descriptions


Copyright © 2008. All Rights Reserved.