Class CatalogList


  • public class CatalogList
    extends Object
    Class that is intended to find matching 'IDs' between two objects found in a catalog file. 'IDs' in this context means an attribute value that distinguishes multiple catalog objects from each other. For example, REFERENCE objects contain an attribute called REFERENCE_KEY_ID that makes the object unique.

    This class aids in programatically determining if two catalog objects were meant to be the same when doing a comparison function in the Catalog Ingest Tool.
    Author:
    mcayanan
    • Constructor Detail

      • CatalogList

        public CatalogList​(List<gov.nasa.pds.tools.label.ObjectStatement> catalogs)
        Constructor
        Parameters:
        catalogs - A list of catalog objects.
    • Method Detail

      • get

        public gov.nasa.pds.tools.label.ObjectStatement get​(gov.nasa.pds.tools.label.Value id)
        Returns a catalog object that contains the supplied id
        Parameters:
        id - The value that makes the catalog object unique.
        Returns:
        The catalog object that matches the supplied id.