Package nzilbb.labbcat.model
Class Upload
java.lang.Object
nzilbb.labbcat.model.Upload
Information about a transcript upload in progress.
- Author:
- Robert Fromont robert@fromont.net.nz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()
Getter forid
: Unique upload identifier.nzilbb.configure.ParameterSet
Getter forparameters
: Parameters that are required to complete the upload.Getter fortranscripts
: A map of transcript IDs to thread IDs, if any transcripts are already being processed.Setter forid
: Unique upload identifier.setParameters
(nzilbb.configure.ParameterSet newParameters) Setter forparameters
: Parameters that are required to complete the upload.setTranscripts
(Map<String, String> newTranscripts) Setter fortranscripts
: A map of transcript IDs to thread IDs, if any transcripts are already being processed.
-
Constructor Details
-
Upload
public Upload()Default constructor. -
Upload
public Upload(javax.json.JsonObject json) Constructor from JSON.- Parameters:
json
- A JSON representation of the object to construct.
-
-
Method Details
-
getId
Getter forid
: Unique upload identifier.- Returns:
- Unique upload identifier.
-
setId
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
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
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
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.
-