public class Ranker extends GenericModel
Ranker
class used by RetrieveAndRank
.Modifier and Type | Class and Description |
---|---|
static class |
Ranker.Status
Ranker Status.
|
Constructor and Description |
---|
Ranker() |
Modifier and Type | Method and Description |
---|---|
Date |
getCreated()
Gets the created.
|
String |
getId()
Gets the ranker id.
|
String |
getName()
Gets the name.
|
Ranker.Status |
getStatus()
Gets the status.
|
String |
getStatusDescription()
Gets the status description.
|
String |
getUrl()
Gets the url.
|
void |
setCreated(Date created)
Sets the date when the ranker was created.
|
void |
setId(String id)
Sets the ranker id.
|
void |
setName(String name)
Sets the name.
|
void |
setStatus(Ranker.Status status)
Sets the status.
|
void |
setStatusDescription(String statusDescription)
Sets the status description.
|
void |
setUrl(String url)
Sets the url.
|
equals, hashCode, toString
public Date getCreated()
public String getId()
public String getName()
public Ranker.Status getStatus()
public String getStatusDescription()
public String getUrl()
public void setCreated(Date created)
created
- the date to setpublic void setId(String id)
id
- the new ranker idpublic void setName(String name)
name
- the name to setpublic void setStatus(Ranker.Status status)
status
- the new statuspublic void setStatusDescription(String statusDescription)
statusDescription
- the new status descriptionpublic void setUrl(String url)
url
- the new urlCopyright © 2015–2016 IBM Watson. All rights reserved.