public class TranslationModel extends GenericModel
TranslationModel.| Modifier and Type | Field and Description |
|---|---|
static String |
STATUS_AVAILABLE
The Constant STATUS_AVAILABLE.
|
static String |
STATUS_ERROR
The Constant STATUS_ERROR.
|
static String |
STATUS_TRAINING
The Constant STATUS_TRAINING.
|
| Constructor and Description |
|---|
TranslationModel() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseModelId()
Gets the base model id.
|
String |
getDomain()
Gets the domain.
|
String |
getModelId()
Gets the model id.
|
String |
getName()
Gets the name.
|
String |
getOwner()
Gets the owner.
|
String |
getSource()
Gets the source.
|
String |
getStatus()
Gets the status.
|
String |
getTarget()
Gets the target.
|
boolean |
isCustomizable()
Checks if is customizable.
|
boolean |
isDefaultModel()
Checks if is default model.
|
void |
setBaseModelId(String baseModelId)
Sets the base model id.
|
void |
setCustomizable(boolean customizable)
Sets the customizable.
|
void |
setDefaultModel(boolean defaultModel)
Sets the default model.
|
void |
setDomain(String domain)
Sets the domain.
|
void |
setModelId(String modelId)
Sets the model id.
|
void |
setName(String name)
Sets the name.
|
void |
setOwner(String owner)
Sets the owner.
|
void |
setSource(String source)
Sets the source.
|
void |
setStatus(String status)
Sets the status.
|
void |
setTarget(String target)
Sets the target.
|
equals, hashCode, toStringpublic static final String STATUS_TRAINING
public static final String STATUS_ERROR
public static final String STATUS_AVAILABLE
public String getModelId()
public void setModelId(String modelId)
modelId - The model_idpublic String getSource()
public void setSource(String source)
source - The sourcepublic String getTarget()
public void setTarget(String target)
target - The targetpublic String getBaseModelId()
public void setBaseModelId(String baseModelId)
baseModelId - The base_model_idpublic String getDomain()
public void setDomain(String domain)
domain - The domainpublic boolean isCustomizable()
public void setCustomizable(boolean customizable)
customizable - The customizablepublic boolean isDefaultModel()
public void setDefaultModel(boolean defaultModel)
defaultModel - The default_modelpublic String getOwner()
public void setOwner(String owner)
owner - The ownerpublic String getStatus()
public void setStatus(String status)
status - The statuspublic String getName()
public void setName(String name)
name - The nameCopyright © 2015. All rights reserved.