Package nzilbb.labbcat.model
Class Upload
- java.lang.Object
-
- nzilbb.labbcat.model.Upload
-
public class Upload extends Object
Information about a transcript upload in progress.- Author:
- Robert Fromont robert@fromont.net.nz
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Getter forid: Unique upload identifier.nzilbb.configure.ParameterSetgetParameters()Getter forparameters: Parameters that are required to complete the upload.Map<String,String>getTranscripts()Getter fortranscripts: A map of transcript IDs to thread IDs, if any transcripts are already being processed.UploadsetId(String newId)Setter forid: Unique upload identifier.UploadsetParameters(nzilbb.configure.ParameterSet newParameters)Setter forparameters: Parameters that are required to complete the upload.UploadsetTranscripts(Map<String,String> newTranscripts)Setter fortranscripts: A map of transcript IDs to thread IDs, if any transcripts are already being processed.
-
-
-
Method Detail
-
getId
public String getId()
Getter forid: Unique upload identifier.- Returns:
- Unique upload identifier.
-
setId
public Upload setId(String newId)
Setter forid: Unique upload identifier.- Parameters:
newId- Unique upload identifier.- Returns:
- A reference to this object, so that setters can be chained.
-
getParameters
public nzilbb.configure.ParameterSet getParameters()
Getter forparameters: Parameters that are required to complete the upload.- Returns:
- Parameters that are required to complete the upload.
-
setParameters
public Upload setParameters(nzilbb.configure.ParameterSet newParameters)
Setter forparameters: Parameters that are required to complete the upload.- Parameters:
newParameters- Parameters that are required to complete the upload.- Returns:
- A reference to this object, so that setters can be chained.
-
getTranscripts
public Map<String,String> getTranscripts()
Getter fortranscripts: A map of transcript IDs to thread IDs, if any transcripts are already being processed.- Returns:
- A map of transcript IDs to thread IDs, if any transcripts are already being processed.
-
setTranscripts
public Upload setTranscripts(Map<String,String> newTranscripts)
Setter fortranscripts: A map of transcript IDs to thread IDs, if any transcripts are already being processed.- Parameters:
newTranscripts- A map of transcript IDs to thread IDs, if any transcripts are already being processed.- Returns:
- A reference to this object, so that setters can be chained.
-
-