org.gcube.common
Class OAISet

java.lang.Object
  extended by org.gcube.common.OAISet

public class OAISet
extends Object

This class represents an OAI Set. This object is returned by the OAISetList.getCurrentItem() method.


Constructor Summary
OAISet()
          Construct a empty set.
 
Method Summary
protected  void frndSetSetDescription(NodeList nl)
           
protected  void frndSetSetName(String sn)
           
protected  void frndSetSetSpec(String ss)
           
protected  void frndSetValid(boolean b)
           
 Node getSetDescription()
          Return the first description of this repository
 Node getSetDescription(int i)
          Return one of the descriptions of this repository
 int getSetDescriptionCount()
          Return how many descriptions there are for the repository
 String getSetName()
          Returns the human-readable name of the set.
 String getSetSpec()
          Returns the identifier for the set.
 boolean isSetValid()
          Return true if the set appears to be valid (well-formed, and if the Validation if Very Strict also valid according to the XML Schemas); if the Validation is Loose and the record is not well-formed, false is returned.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAISet

public OAISet()
Construct a empty set.

Method Detail

getSetDescription

public Node getSetDescription()
                       throws OAIException
Return the first description of this repository

Throws:
OAIException

getSetDescription

public Node getSetDescription(int i)
                       throws OAIException
Return one of the descriptions of this repository

Throws:
OAIException

getSetDescriptionCount

public int getSetDescriptionCount()
Return how many descriptions there are for the repository


isSetValid

public boolean isSetValid()
Return true if the set appears to be valid (well-formed, and if the Validation if Very Strict also valid according to the XML Schemas); if the Validation is Loose and the record is not well-formed, false is returned.


frndSetValid

protected void frndSetValid(boolean b)

frndSetSetSpec

protected void frndSetSetSpec(String ss)

frndSetSetName

protected void frndSetSetName(String sn)

frndSetSetDescription

protected void frndSetSetDescription(NodeList nl)

getSetSpec

public String getSetSpec()
Returns the identifier for the set.


getSetName

public String getSetName()
Returns the human-readable name of the set.



Copyright © 2013. All Rights Reserved.