psdi.app.recontask.engine.dataset

Class DataSetConfig

  • java.lang.Object
    • psdi.app.recontask.engine.dataset.DataSetConfig


  • public class DataSetConfig
    extends java.lang.Object
    This class manages the configuration information of recon data sets
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      protected static java.lang.String DATASET_MAP_PREFIX 
      protected static java.lang.String DATASET_PROVIDER_PREFIX 
      protected static java.util.HashMap datasetMap
      The keys of datasetMap are data set names.
    • Constructor Summary

      Constructors 
      Constructor and Description
      DataSetConfig() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static DataSet getDataSet(java.lang.String datasetName)
      Returns the DataSet class given a data set name.
      static java.util.List getValidDataSet2Names(java.lang.String dataset1Name)
      Returns a list of data set2 names the given data set name can reconcile against as data set1.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DATASET_PROVIDER_PREFIX

        protected static final java.lang.String DATASET_PROVIDER_PREFIX
        See Also:
        Constant Field Values
      • DATASET_MAP_PREFIX

        protected static final java.lang.String DATASET_MAP_PREFIX
        See Also:
        Constant Field Values
      • datasetMap

        protected static java.util.HashMap datasetMap
        The keys of datasetMap are data set names.
        The entries in datasetMap are composed of an array of 2 elements,
        The 1st element is left empty
        The 2nd element is is full class path of the data set provider class.
        The 3rd element is a List of data set names that can be reconciled (as dataset2) against the data set represented by the key.
    • Constructor Detail

      • DataSetConfig

        public DataSetConfig()
    • Method Detail

      • getDataSet

        public static DataSet getDataSet(java.lang.String datasetName)
                                  throws java.rmi.RemoteException,
                                         MXException
        Returns the DataSet class given a data set name.
        Throws:
        java.rmi.RemoteException
        MXException
      • getValidDataSet2Names

        public static java.util.List getValidDataSet2Names(java.lang.String dataset1Name)
                                                    throws java.rmi.RemoteException,
                                                           MXException
        Returns a list of data set2 names the given data set name can reconcile against as data set1.
        Throws:
        java.rmi.RemoteException
        MXException