public class TerminologyData extends Object implements Serializable
The data associated with the custom terminology.
| Constructor and Description |
|---|
TerminologyData() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ByteBuffer |
getFile()
The file containing the custom terminology data.
|
String |
getFormat()
The data format of the custom terminology.
|
int |
hashCode() |
void |
setFile(ByteBuffer file)
The file containing the custom terminology data.
|
void |
setFormat(String format)
The data format of the custom terminology.
|
void |
setFormat(TerminologyDataFormat format)
The data format of the custom terminology.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TerminologyData |
withFile(ByteBuffer file)
The file containing the custom terminology data.
|
TerminologyData |
withFormat(String format)
The data format of the custom terminology.
|
TerminologyData |
withFormat(TerminologyDataFormat format)
The data format of the custom terminology.
|
public ByteBuffer getFile()
The file containing the custom terminology data.
Constraints:
Length: - 10485760
The file containing the custom terminology data.
public void setFile(ByteBuffer file)
The file containing the custom terminology data.
Constraints:
Length: - 10485760
file - The file containing the custom terminology data.
public TerminologyData withFile(ByteBuffer file)
The file containing the custom terminology data.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 10485760
file - The file containing the custom terminology data.
public String getFormat()
The data format of the custom terminology. Either CSV or TMX.
Constraints:
Allowed Values: CSV, TMX
The data format of the custom terminology. Either CSV or TMX.
TerminologyDataFormatpublic void setFormat(String format)
The data format of the custom terminology. Either CSV or TMX.
Constraints:
Allowed Values: CSV, TMX
format - The data format of the custom terminology. Either CSV or TMX.
TerminologyDataFormatpublic TerminologyData withFormat(String format)
The data format of the custom terminology. Either CSV or TMX.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CSV, TMX
format - The data format of the custom terminology. Either CSV or TMX.
TerminologyDataFormatpublic void setFormat(TerminologyDataFormat format)
The data format of the custom terminology. Either CSV or TMX.
Constraints:
Allowed Values: CSV, TMX
format - The data format of the custom terminology. Either CSV or TMX.
TerminologyDataFormatpublic TerminologyData withFormat(TerminologyDataFormat format)
The data format of the custom terminology. Either CSV or TMX.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CSV, TMX
format - The data format of the custom terminology. Either CSV or TMX.
TerminologyDataFormatpublic String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.