Record Class TranscriptionSpeakerProposal
java.lang.Object
java.lang.Record
org.exoplatform.documents.model.TranscriptionSpeakerProposal
- Record Components:
speaker- the speaker's number in the transcriptidentityId- the identity id of the person proposedstrong- whether the evidence was strongautoApplied- whether the speaker was named after it without waiting for a person, and still isquotes- the sentences that show it, in orderpremiseSpeaker- for a proposal made by elimination, the other voice it follows from; null otherwisepremiseIdentityId- for a proposal made by elimination, the person that other voice is taken to be; null otherwise
public record TranscriptionSpeakerProposal(String speaker, long identityId, boolean strong, boolean autoApplied, List<TranscriptionQuote> quotes, String premiseSpeaker, Long premiseIdentityId)
extends Record
A proposal of who a speaker of a file's transcript is, as shown to a person
who can edit the file (EXO-92126): the proposal and the sentences that show
it.
-
Constructor Summary
ConstructorsConstructorDescriptionTranscriptionSpeakerProposal(String speaker, long identityId, boolean strong, boolean autoApplied, List<TranscriptionQuote> quotes, String premiseSpeaker, Long premiseIdentityId) Creates an instance of aTranscriptionSpeakerProposalrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theautoAppliedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longReturns the value of theidentityIdrecord component.Returns the value of thepremiseIdentityIdrecord component.Returns the value of thepremiseSpeakerrecord component.quotes()Returns the value of thequotesrecord component.speaker()Returns the value of thespeakerrecord component.booleanstrong()Returns the value of thestrongrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TranscriptionSpeakerProposal
public TranscriptionSpeakerProposal(String speaker, long identityId, boolean strong, boolean autoApplied, List<TranscriptionQuote> quotes, String premiseSpeaker, Long premiseIdentityId) Creates an instance of aTranscriptionSpeakerProposalrecord class.- Parameters:
speaker- the value for thespeakerrecord componentidentityId- the value for theidentityIdrecord componentstrong- the value for thestrongrecord componentautoApplied- the value for theautoAppliedrecord componentquotes- the value for thequotesrecord componentpremiseSpeaker- the value for thepremiseSpeakerrecord componentpremiseIdentityId- the value for thepremiseIdentityIdrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
speaker
-
identityId
public long identityId()Returns the value of theidentityIdrecord component.- Returns:
- the value of the
identityIdrecord component
-
strong
-
autoApplied
public boolean autoApplied()Returns the value of theautoAppliedrecord component.- Returns:
- the value of the
autoAppliedrecord component
-
quotes
-
premiseSpeaker
Returns the value of thepremiseSpeakerrecord component.- Returns:
- the value of the
premiseSpeakerrecord component
-
premiseIdentityId
Returns the value of thepremiseIdentityIdrecord component.- Returns:
- the value of the
premiseIdentityIdrecord component
-