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 |
getId()
Gets the model id.
|
String |
getModelId()
Deprecated.
Use
getId() |
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 |
setId(String id)
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, toString
public static final String STATUS_AVAILABLE
public static final String STATUS_ERROR
public static final String STATUS_TRAINING
public String getBaseModelId()
public String getDomain()
public String getId()
public String getModelId()
getId()
public String getName()
public String getOwner()
public String getSource()
public String getStatus()
public String getTarget()
public boolean isCustomizable()
public boolean isDefaultModel()
public void setBaseModelId(String baseModelId)
baseModelId
- The base_model_idpublic void setCustomizable(boolean customizable)
customizable
- The customizablepublic void setDefaultModel(boolean defaultModel)
defaultModel
- The default_modelpublic void setDomain(String domain)
domain
- The domainpublic void setId(String id)
id
- The model idpublic void setName(String name)
name
- The namepublic void setOwner(String owner)
owner
- The ownerpublic void setSource(String source)
source
- The sourcepublic void setStatus(String status)
status
- The statuspublic void setTarget(String target)
target
- The targetCopyright © 2015–2016. All rights reserved.