Package com.acumenvelocity.ath.model
Class DocumentSegment
- java.lang.Object
-
- com.acumenvelocity.ath.model.DocumentSegment
-
@Generated(value="org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments="Generator version: 7.15.0") public class DocumentSegment extends ObjectDocument segment.
-
-
Constructor Summary
Constructors Constructor Description DocumentSegment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentSegmentcreatedAt(Date createdAt)Creation timestamp.DocumentSegmentcreatedBy(UUID createdBy)UUID of the user who created the segment.DocumentSegmentdocFileName(String docFileName)Name of the document.DocumentSegmentdocId(UUID docId)UUID of the document.DocumentSegmentdocSegId(UUID docSegId)UUID of the document segment.booleanequals(Object o)DategetCreatedAt()UUIDgetCreatedBy()StringgetDocFileName()UUIDgetDocId()UUIDgetDocSegId()StringgetId()DoublegetMtConfidenceScore()IntegergetMtTargetIndex()List<MtTargetInfo>getMtTargets()OrigingetOrigin()LonggetPosition()LayeredTextXgetSource()StringgetSrcLang()LayeredTextXgetTarget()IntegergetTmMatchScore()StringgetTrgLang()StringgetTuId()DategetUpdatedAt()UUIDgetUpdatedBy()inthashCode()DocumentSegmentid(String id)Unique id of the document segment.DocumentSegmentmtConfidenceScore(Double mtConfidenceScore)The confidence score for the machine translation, ranging from 0 (no confidence) to 1 (full confidence).DocumentSegmentmtTargetIndex(Integer mtTargetIndex)Index in the `mt_targets` array or -1 (default).DocumentSegmentmtTargets(List<MtTargetInfo> mtTargets)Array of MtTargetInfo objects.DocumentSegmentorigin(Origin origin)DocumentSegmentposition(Long position)Index in the document (1-based).voidsetCreatedAt(Date createdAt)voidsetCreatedBy(UUID createdBy)voidsetDocFileName(String docFileName)voidsetDocId(UUID docId)voidsetDocSegId(UUID docSegId)voidsetId(String id)voidsetMtConfidenceScore(Double mtConfidenceScore)voidsetMtTargetIndex(Integer mtTargetIndex)voidsetMtTargets(List<MtTargetInfo> mtTargets)voidsetOrigin(Origin origin)voidsetPosition(Long position)voidsetSource(LayeredTextX source)voidsetSrcLang(String srcLang)voidsetTarget(LayeredTextX target)voidsetTmMatchScore(Integer tmMatchScore)voidsetTrgLang(String trgLang)voidsetTuId(String tuId)voidsetUpdatedAt(Date updatedAt)voidsetUpdatedBy(UUID updatedBy)DocumentSegmentsource(LayeredTextX source)DocumentSegmentsrcLang(String srcLang)Source language ISO code.DocumentSegmenttarget(LayeredTextX target)DocumentSegmenttmMatchScore(Integer tmMatchScore)Translation memory match score percentage (0-101, where 100 means exact, 101 in-context exact match).StringtoString()DocumentSegmenttrgLang(String trgLang)Target language ISO code.DocumentSegmenttuId(String tuId)Translation unit ID.DocumentSegmentupdatedAt(Date updatedAt)Last update timestamp.DocumentSegmentupdatedBy(UUID updatedBy)UUID of the user who last updated the segment.
-
-
-
Method Detail
-
id
public DocumentSegment id(String id)
Unique id of the document segment.
-
getId
public String getId()
-
setId
public void setId(String id)
-
docSegId
public DocumentSegment docSegId(UUID docSegId)
UUID of the document segment.
-
getDocSegId
public UUID getDocSegId()
-
setDocSegId
public void setDocSegId(UUID docSegId)
-
docId
public DocumentSegment docId(UUID docId)
UUID of the document.
-
getDocId
public UUID getDocId()
-
setDocId
public void setDocId(UUID docId)
-
docFileName
public DocumentSegment docFileName(String docFileName)
Name of the document.
-
getDocFileName
public String getDocFileName()
-
setDocFileName
public void setDocFileName(String docFileName)
-
srcLang
public DocumentSegment srcLang(String srcLang)
Source language ISO code.
-
getSrcLang
public String getSrcLang()
-
setSrcLang
public void setSrcLang(String srcLang)
-
trgLang
public DocumentSegment trgLang(String trgLang)
Target language ISO code.
-
getTrgLang
public String getTrgLang()
-
setTrgLang
public void setTrgLang(String trgLang)
-
source
public DocumentSegment source(LayeredTextX source)
-
getSource
public LayeredTextX getSource()
-
setSource
public void setSource(LayeredTextX source)
-
target
public DocumentSegment target(LayeredTextX target)
-
getTarget
public LayeredTextX getTarget()
-
setTarget
public void setTarget(LayeredTextX target)
-
position
public DocumentSegment position(Long position)
Index in the document (1-based).
-
getPosition
public Long getPosition()
-
setPosition
public void setPosition(Long position)
-
tuId
public DocumentSegment tuId(String tuId)
Translation unit ID.
-
getTuId
public String getTuId()
-
setTuId
public void setTuId(String tuId)
-
origin
public DocumentSegment origin(Origin origin)
-
getOrigin
public Origin getOrigin()
-
setOrigin
public void setOrigin(Origin origin)
-
tmMatchScore
public DocumentSegment tmMatchScore(Integer tmMatchScore)
Translation memory match score percentage (0-101, where 100 means exact, 101 in-context exact match). minimum: 0 maximum: 101
-
getTmMatchScore
public Integer getTmMatchScore()
-
setTmMatchScore
public void setTmMatchScore(Integer tmMatchScore)
-
mtConfidenceScore
public DocumentSegment mtConfidenceScore(Double mtConfidenceScore)
The confidence score for the machine translation, ranging from 0 (no confidence) to 1 (full confidence). minimum: 0 maximum: 1
-
getMtConfidenceScore
public Double getMtConfidenceScore()
-
setMtConfidenceScore
public void setMtConfidenceScore(Double mtConfidenceScore)
-
mtTargetIndex
public DocumentSegment mtTargetIndex(Integer mtTargetIndex)
Index in the `mt_targets` array or -1 (default).
-
getMtTargetIndex
public Integer getMtTargetIndex()
-
setMtTargetIndex
public void setMtTargetIndex(Integer mtTargetIndex)
-
mtTargets
public DocumentSegment mtTargets(List<MtTargetInfo> mtTargets)
Array of MtTargetInfo objects.
-
getMtTargets
public List<MtTargetInfo> getMtTargets()
-
setMtTargets
public void setMtTargets(List<MtTargetInfo> mtTargets)
-
createdBy
public DocumentSegment createdBy(UUID createdBy)
UUID of the user who created the segment.
-
getCreatedBy
public UUID getCreatedBy()
-
setCreatedBy
public void setCreatedBy(UUID createdBy)
-
createdAt
public DocumentSegment createdAt(Date createdAt)
Creation timestamp.
-
getCreatedAt
public Date getCreatedAt()
-
setCreatedAt
public void setCreatedAt(Date createdAt)
-
updatedBy
public DocumentSegment updatedBy(UUID updatedBy)
UUID of the user who last updated the segment.
-
getUpdatedBy
public UUID getUpdatedBy()
-
setUpdatedBy
public void setUpdatedBy(UUID updatedBy)
-
updatedAt
public DocumentSegment updatedAt(Date updatedAt)
Last update timestamp.
-
getUpdatedAt
public Date getUpdatedAt()
-
setUpdatedAt
public void setUpdatedAt(Date updatedAt)
-
-