public class BaseServiceInfo extends AbstractServiceInfo
Constructor and Description |
---|
BaseServiceInfo(ServiceInfo info) |
Modifier and Type | Method and Description |
---|---|
String |
getCategory()
返回服务分类
|
List<Parameter> |
getParameters()
若参数为空,需要返回一个空list
|
long |
getRequestTimeout()
返回服务超时时间
|
List<Parameter> |
getResults()
若结果集为空,需要返回一个空list
|
String |
getServiceId() |
void |
setCategory(String category) |
void |
setParameters(List<Parameter> parameters) |
void |
setRequestTimeout(long requestTimeout) |
void |
setResults(List<Parameter> results) |
void |
setServiceId(String serviceId) |
compareTo
public BaseServiceInfo(ServiceInfo info)
public List<Parameter> getParameters()
ServiceInfo
public List<Parameter> getResults()
ServiceInfo
public String getServiceId()
public void setServiceId(String serviceId)
public String getCategory()
ServiceInfo
public void setCategory(String category)
public long getRequestTimeout()
ServiceInfo
getRequestTimeout
in interface ServiceInfo
getRequestTimeout
in class AbstractServiceInfo
public void setRequestTimeout(long requestTimeout)
Copyright © 2006–2018 TinyGroup. All rights reserved.