Package org.dlese.dpc.schemedit.dcs
Class DcsSetInfo
java.lang.Object
org.dlese.dpc.repository.SetInfo
org.dlese.dpc.schemedit.dcs.DcsSetInfo
- All Implemented Interfaces:
Serializable,Comparable
Extends SetInfo to provide DCS-specific information about sets (aka collections), such as the number of valid records.
- Author:
- Jonathan Ostwald
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classImplements Comparator to enable sorting by numDone.static classstatic classImplements Comparator to enable sorting by numDone.static classstatic classImplements Comparator to enable sorting by numWorking.Nested classes/interfaces inherited from class org.dlese.dpc.repository.SetInfo
SetInfo.FormatComparator, SetInfo.NameComparator, SetInfo.NumDeletedComparator, SetInfo.NumFilesComparator, SetInfo.NumIndexedComparator, SetInfo.NumIndexingErrorsComparator, SetInfo.SetSpecComparator, SetInfo.StatusComparator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComparatorgetComparator(String type) Gets the comparator attribute of the DcsSetInfo classGets the numDone attribute of the DcsSetInfo objectintGets the numFiles attribute of the SetInfo objectintintintintGets the numWorking attribute of the DcsSetInfo objectintGets the numFiles attribute of the SetInfo objectOveride method from SetInfovoidsetAuthority(String auth) voidsetExampleId(String id) voidsetFinalStatusFlag(StatusFlag flag) voidsetIdPrefix(String id) voidAdds DcsSetInfo properties to those of repository.SetInfo for this DcsSetInfo instance.voidsetUniqueID(String id) Methods inherited from class org.dlese.dpc.repository.SetInfo
addDirInfo, compareTo, containsDirectory, containsDirInfo, equals, getAccessionStatus, getAttribute, getDescription, getDescriptionHtml, getDirectory, getDirInfo, getDirInfos, getEnabled, getFormat, getId, getName, getNameEncoded, getNumDeleted, getNumDeletedInt, getNumFiles, getNumFilesInt, getNumIndexed, getNumIndexedInt, getNumIndexingErrors, getNumIndexingErrorsInt, getSetSpec, getUniqueIDLong, isEnabled, removeDirInfo, setAccessionStatus, setAttribute, setDescription, setDirInfo, setDirInfo, setEnabled, setId, setName, setSetSpec, toString
-
Constructor Details
-
DcsSetInfo
Constructor for the DcsSetInfo object- Parameters:
setInfo- Description of the Parameter
-
-
Method Details
-
setUniqueID
-
getUniqueID
Overide method from SetInfo- Overrides:
getUniqueIDin classSetInfo- 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
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
Gets the numWorking attribute of the DcsSetInfo object- Returns:
- The numWorking value
-
getIdPrefix
-
setIdPrefix
-
getAuthority
-
setAuthority
-
getFinalStatusFlag
-
setFinalStatusFlag
-
getExampleId
-
setExampleId
-
setSetInfoData
Adds DcsSetInfo properties to those of repository.SetInfo for this DcsSetInfo instance.- Overrides:
setSetInfoDatain classSetInfo- Parameters:
rm- The new setInfoData value
-
getComparator
Gets the comparator attribute of the DcsSetInfo class- Parameters:
type- Description of the Parameter- Returns:
- The comparator value
-