public class TranslationModel extends GenericModel
TranslationModel
.Modifier and Type | Class and Description |
---|---|
static class |
TranslationModel.Status
The Enum Status.
|
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 |
getName()
Gets the name.
|
String |
getOwner()
Gets the owner.
|
String |
getSource()
Gets the source.
|
TranslationModel.Status |
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(TranslationModel.Status status)
Sets the status.
|
void |
setTarget(String target)
Sets the target.
|
equals, hashCode, toString
public String getBaseModelId()
public String getDomain()
public String getId()
public String getName()
public String getOwner()
public String getSource()
public TranslationModel.Status 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(TranslationModel.Status status)
status
- The statuspublic void setTarget(String target)
target
- The targetCopyright © 2015–2016 IBM Watson. All rights reserved.