Package com.acumenvelocity.ath.model
Class LayeredSegment
- java.lang.Object
-
- com.acumenvelocity.ath.model.LayeredSegment
-
@Generated(value="org.openapitools.codegen.languages.JavaInflectorServerCodegen", comments="Generator version: 7.15.0") public class LayeredSegment extends ObjectText and inline codes markup for segment source and target.
-
-
Constructor Summary
Constructors Constructor Description LayeredSegment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<InlineCodeRef>getSrcCodes()StringgetSrcLang()StringgetSrcText()List<InlineCodeRef>getTrgCodes()StringgetTrgLang()StringgetTrgText()List<Integer>getTrgWordBreakPositions()inthashCode()voidsetSrcCodes(List<InlineCodeRef> srcCodes)voidsetSrcLang(String srcLang)voidsetSrcText(String srcText)voidsetTrgCodes(List<InlineCodeRef> trgCodes)voidsetTrgLang(String trgLang)voidsetTrgText(String trgText)voidsetTrgWordBreakPositions(List<Integer> trgWordBreakPositions)LayeredSegmentsrcCodes(List<InlineCodeRef> srcCodes)Array of inline codes as a layer over source text.LayeredSegmentsrcLang(String srcLang)The source language of the segment.LayeredSegmentsrcText(String srcText)Raw source text of the segment, contains no placeholders for codes or markup.StringtoString()LayeredSegmenttrgCodes(List<InlineCodeRef> trgCodes)Array of inline codes as a layer over target text.LayeredSegmenttrgLang(String trgLang)The target language of the segment.LayeredSegmenttrgText(String trgText)Raw target text of the segment, contains no placeholders for codes or markup.LayeredSegmenttrgWordBreakPositions(List<Integer> trgWordBreakPositions)Array of word-break positions in the target text.
-
-
-
Method Detail
-
srcLang
public LayeredSegment srcLang(String srcLang)
The source language of the segment.
-
getSrcLang
public String getSrcLang()
-
setSrcLang
public void setSrcLang(String srcLang)
-
srcText
public LayeredSegment srcText(String srcText)
Raw source text of the segment, contains no placeholders for codes or markup.
-
getSrcText
public String getSrcText()
-
setSrcText
public void setSrcText(String srcText)
-
srcCodes
public LayeredSegment srcCodes(List<InlineCodeRef> srcCodes)
Array of inline codes as a layer over source text.
-
getSrcCodes
public List<InlineCodeRef> getSrcCodes()
-
setSrcCodes
public void setSrcCodes(List<InlineCodeRef> srcCodes)
-
trgLang
public LayeredSegment trgLang(String trgLang)
The target language of the segment.
-
getTrgLang
public String getTrgLang()
-
setTrgLang
public void setTrgLang(String trgLang)
-
trgText
public LayeredSegment trgText(String trgText)
Raw target text of the segment, contains no placeholders for codes or markup.
-
getTrgText
public String getTrgText()
-
setTrgText
public void setTrgText(String trgText)
-
trgCodes
public LayeredSegment trgCodes(List<InlineCodeRef> trgCodes)
Array of inline codes as a layer over target text.
-
getTrgCodes
public List<InlineCodeRef> getTrgCodes()
-
setTrgCodes
public void setTrgCodes(List<InlineCodeRef> trgCodes)
-
trgWordBreakPositions
public LayeredSegment trgWordBreakPositions(List<Integer> trgWordBreakPositions)
Array of word-break positions in the target text.
-
-