Interface VersionedFileFields<VersionType extends java.io.Serializable>
-
- Type Parameters:
VersionType- the type used to internally store the current version of the object (usually a number.)
- All Known Implementing Classes:
AnalysisOutputFile,GenomeAssembly,GenomeAssemblyFromAnalysis,ReferenceFile,SequenceFile,UploadedAssembly
public interface VersionedFileFields<VersionType extends java.io.Serializable>An instance of a class may have a property withVersionor may have an internally managed version representation. This interface exposes that version.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VersionTypegetFileRevisionNumber()Get the version of the instance.voidincrementFileRevisionNumber()Internally modify the file revision number to something new.
-
-
-
Method Detail
-
getFileRevisionNumber
VersionType getFileRevisionNumber()
Get the version of the instance.- Returns:
- the version of the instance.
-
incrementFileRevisionNumber
void incrementFileRevisionNumber()
Internally modify the file revision number to something new.
-
-