Package gov.nasa.pds.citool.catalog
Class CatalogList
- java.lang.Object
-
- gov.nasa.pds.citool.catalog.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 Summary
Constructors Constructor Description CatalogList(List<gov.nasa.pds.tools.label.ObjectStatement> catalogs)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description gov.nasa.pds.tools.label.ObjectStatement
get(gov.nasa.pds.tools.label.Value id)
Returns a catalog object that contains the supplied id
-
-
-
Constructor Detail
-
CatalogList
public CatalogList(List<gov.nasa.pds.tools.label.ObjectStatement> catalogs)
Constructor- Parameters:
catalogs
- A list of catalog objects.
-
-