Class AggregatorReader


public class AggregatorReader extends GroupingObjectReader
Extension of NdrObjectReader for accessing properties, dataStreams, and relationships of NDR Aggregator Objects.

More Info:

  • Aggregator overview: http://wiki.nsdl.org/index.php/Community:NDR/ObjectTypes#Aggregator
  • Aggregator data model: http://wiki.nsdl.org/index.php/Community:NCore/Model/Objects/Aggregator
  • Aggregator API requests: http://wiki.nsdl.org/index.php/Community:NDR/APIRequestsByObject#Aggregator_requests
  • Author:
    ostwald
    • Constructor Details

      • AggregatorReader

        public AggregatorReader(String handle) throws Exception
        Constructor for the AggregatorReader object at the specified NDR handle.
        Parameters:
        handle - NOT YET DOCUMENTED
        Throws:
        Exception - NOT YET DOCUMENTED
      • AggregatorReader

        public AggregatorReader(org.dom4j.Document ndrResponse) throws Exception
        Constructor for the AggregatorReader object for the provided Document representing a NDR "get" call for a Aggregator object.
        Parameters:
        ndrResponse - NOT YET DOCUMENTED
        Throws:
        Exception - NOT YET DOCUMENTED
    • Method Details

      • getChildToParentRelationship

        public String getChildToParentRelationship()
        Gets the childToParentRelationship attribute of the AggregatorReader object
        Specified by:
        getChildToParentRelationship in class GroupingObjectReader
        Returns:
        The childToParentRelationship value
      • getMdpHandle

        public String getMdpHandle()
        Gets the mdpHandle attribute of the AggregatorReader object
        Returns:
        The mdpHandle value
      • getNativeFormat

        public String getNativeFormat()
        Gets the nativeFormat for the ITEM-level metadata of this collection.
        Returns:
        The nativeFormat value
      • getAggregatorFor

        public String getAggregatorFor()
        Gets the aggregatorFor attribute of the AggregatorReader object
        Returns:
        The aggregatorFor value
      • getCollectionResource

        public String getCollectionResource()
        Gets the collectionResource attribute of the AggregatorReader object
        Returns:
        The collectionResource value