org.fcrepo.oai
Class SimpleSetInfo

java.lang.Object
  extended by org.fcrepo.oai.SimpleSetInfo
All Implemented Interfaces:
SetInfo

public class SimpleSetInfo
extends Object
implements SetInfo

A simple implementation of SetInfo that provides getters on the values passed in the constructor.

Author:
Chris Wilper

Constructor Summary
SimpleSetInfo(String name, String spec, Set descriptions)
           
 
Method Summary
 Set getDescriptions()
          Get the descriptions of the set.
 String getName()
          Get the name of the set.
 String getSpec()
          Get the setSpec of the set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSetInfo

public SimpleSetInfo(String name,
                     String spec,
                     Set descriptions)
Method Detail

getName

public String getName()
Description copied from interface: SetInfo
Get the name of the set.

Specified by:
getName in interface SetInfo

getSpec

public String getSpec()
Description copied from interface: SetInfo
Get the setSpec of the set.

Specified by:
getSpec in interface SetInfo

getDescriptions

public Set getDescriptions()
Description copied from interface: SetInfo
Get the descriptions of the set.

Specified by:
getDescriptions in interface SetInfo


Copyright © 2011 DuraSpace. All Rights Reserved.