public class Term extends Object implements Serializable
The term being translated by the custom terminology.
| Constructor and Description |
|---|
Term() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getSourceText()
The source text of the term being translated by the custom terminology.
|
String |
getTargetText()
The target text of the term being translated by the custom terminology.
|
int |
hashCode() |
void |
setSourceText(String sourceText)
The source text of the term being translated by the custom terminology.
|
void |
setTargetText(String targetText)
The target text of the term being translated by the custom terminology.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Term |
withSourceText(String sourceText)
The source text of the term being translated by the custom terminology.
|
Term |
withTargetText(String targetText)
The target text of the term being translated by the custom terminology.
|
public String getSourceText()
The source text of the term being translated by the custom terminology.
Constraints:
Length: - 10000
Pattern: [\P{M}\p{M}]{0,10000}
The source text of the term being translated by the custom terminology.
public void setSourceText(String sourceText)
The source text of the term being translated by the custom terminology.
Constraints:
Length: - 10000
Pattern: [\P{M}\p{M}]{0,10000}
sourceText - The source text of the term being translated by the custom terminology.
public Term withSourceText(String sourceText)
The source text of the term being translated by the custom terminology.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 10000
Pattern: [\P{M}\p{M}]{0,10000}
sourceText - The source text of the term being translated by the custom terminology.
public String getTargetText()
The target text of the term being translated by the custom terminology.
Constraints:
Length: - 10000
Pattern: [\P{M}\p{M}]{0,10000}
The target text of the term being translated by the custom terminology.
public void setTargetText(String targetText)
The target text of the term being translated by the custom terminology.
Constraints:
Length: - 10000
Pattern: [\P{M}\p{M}]{0,10000}
targetText - The target text of the term being translated by the custom terminology.
public Term withTargetText(String targetText)
The target text of the term being translated by the custom terminology.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 10000
Pattern: [\P{M}\p{M}]{0,10000}
targetText - The target text of the term being translated by the custom terminology.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.