Class DcsSetInfo

java.lang.Object
org.dlese.dpc.repository.SetInfo
org.dlese.dpc.schemedit.dcs.DcsSetInfo
All Implemented Interfaces:
Serializable, Comparable

public class DcsSetInfo extends SetInfo
Extends SetInfo to provide DCS-specific information about sets (aka collections), such as the number of valid records.
Author:
Jonathan Ostwald
See Also:
  • Constructor Details

    • DcsSetInfo

      public DcsSetInfo(SetInfo setInfo)
      Constructor for the DcsSetInfo object
      Parameters:
      setInfo - Description of the Parameter
  • Method Details

    • setUniqueID

      public void setUniqueID(String id)
    • getUniqueID

      public String getUniqueID()
      Overide method from SetInfo
      Overrides:
      getUniqueID in class SetInfo
      Returns:
      The unique ID.
    • getNumValid

      public int getNumValid()
    • getNumNotValid

      public int getNumNotValid()
    • getNumSyncErrors

      public int getNumSyncErrors()
    • getNumDoneInt

      public int getNumDoneInt()
      Gets the numFiles attribute of the SetInfo object
      Returns:
      The numFiles value
    • getNumDone

      public String getNumDone()
      Gets the numDone attribute of the DcsSetInfo object
      Returns:
      The numDone value
    • getNumWorkingInt

      public int getNumWorkingInt()
      Gets the numFiles attribute of the SetInfo object
      Returns:
      The numFiles value
    • getNumFinalAndNotValid

      public int getNumFinalAndNotValid()
    • getNumWorking

      public String getNumWorking()
      Gets the numWorking attribute of the DcsSetInfo object
      Returns:
      The numWorking value
    • getIdPrefix

      public String getIdPrefix()
    • setIdPrefix

      public void setIdPrefix(String id)
    • getAuthority

      public String getAuthority()
    • setAuthority

      public void setAuthority(String auth)
    • getFinalStatusFlag

      public StatusFlag getFinalStatusFlag()
    • setFinalStatusFlag

      public void setFinalStatusFlag(StatusFlag flag)
    • getExampleId

      public String getExampleId()
    • setExampleId

      public void setExampleId(String id)
    • setSetInfoData

      public void setSetInfoData(RepositoryManager rm)
      Adds DcsSetInfo properties to those of repository.SetInfo for this DcsSetInfo instance.
      Overrides:
      setSetInfoData in class SetInfo
      Parameters:
      rm - The new setInfoData value
    • getComparator

      public static Comparator getComparator(String type)
      Gets the comparator attribute of the DcsSetInfo class
      Parameters:
      type - Description of the Parameter
      Returns:
      The comparator value