All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gov.nasa.pds.citool.ri.DataSetRIChecker Maven / Gradle / Ivy

Go to download

The Legacy Catalog Tool provides functionality for ingesting PDS3 catalog files into the PDS4 infrastructure including the Registry Service.

There is a newer version: 3.1.0
Show newest version
package gov.nasa.pds.citool.ri;

import gov.nasa.pds.tools.LabelParserException;
import gov.nasa.pds.tools.constants.Constants;
import gov.nasa.pds.tools.label.AttributeStatement;
import gov.nasa.pds.tools.label.Label;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Class to perform referential integrity on data sets.
 *
 * @author mcayanan
 *
 */
public class DataSetRIChecker extends RIChecker {
    private static String ID = "DATA_SET_ID";
    private static String COLLECTION_ID = "DATA_SET_COLLECTION_ID";
    private static String COLL_OR_DS_ID = "DATA_SET_COLL_OR_DATA_SET_ID";
    private static String PRODUCT_DS_ID = "PRODUCT_DATA_SET_ID";

    public void performCheck(List




© 2015 - 2024 Weber Informatics LLC | Privacy Policy