@Entity public class ServiceInfoBo extends Object implements ServiceInfoContract, Serializable
ServiceInfo
,
Serialized FormConstructor and Description |
---|
ServiceInfoBo() |
Modifier and Type | Method and Description |
---|---|
static ServiceInfoBo |
from(ServiceInfo im) |
String |
getApplicationId()
Returns the id of the application that published and owns the service.
|
String |
getChecksum()
Returns a checksum value for the
ServiceConfiguration stored in the
ServiceDescriptorContract for this service. |
String |
getEndpointUrl()
Returns the URL of the service as a string.
|
String |
getInstanceId()
Returns the id of the instance that published and owns the service.
|
String |
getServerIpAddress()
Return the IP address of the server on which the application is running which
published and owns the service.
|
String |
getServiceDescriptorId()
Returns the id of the service descriptor for this service.
|
String |
getServiceId()
Returns the identifier for the service.
|
QName |
getServiceName()
Returns the name of the service as a qualified name consisting of a
namespace and a name.
|
String |
getServiceVersion()
Returns the version information of this service.
|
ServiceEndpointStatus |
getStatus()
Return the status of the service endpoint represented by this service.
|
String |
getStatusCode() |
String |
getType()
Returns the type of this service.
|
Long |
getVersionNumber()
Deprecated value which previously stored version number for optimistic locking purposes.
|
void |
setApplicationId(String applicationId) |
void |
setChecksum(String checksum) |
void |
setEndpointUrl(String endpointUrl) |
void |
setInstanceId(String instanceId) |
void |
setServerIpAddress(String serverIpAddress) |
void |
setServiceDescriptorId(String serviceDescriptorId) |
void |
setServiceId(String serviceId) |
void |
setServiceName(String serviceName) |
void |
setServiceVersion(String serviceVersion) |
void |
setStatusCode(String statusCode) |
void |
setType(String type) |
void |
setVersionNumber(Long versionNumber)
Deprecated.
version number is no longer used
|
static ServiceInfo |
to(ServiceInfoBo bo) |
public ServiceInfoBo()
public String getServiceId()
ServiceInfoContract
getServiceId
in interface ServiceInfoContract
public void setServiceId(String serviceId)
public QName getServiceName()
ServiceInfoContract
getServiceName
in interface ServiceInfoContract
public void setServiceName(String serviceName)
public String getEndpointUrl()
ServiceInfoContract
getEndpointUrl
in interface ServiceInfoContract
public void setEndpointUrl(String endpointUrl)
public String getInstanceId()
ServiceInfoContract
getInstanceId
in interface ServiceInfoContract
public void setInstanceId(String instanceId)
public String getApplicationId()
ServiceInfoContract
getApplicationId
in interface ServiceInfoContract
public void setApplicationId(String applicationId)
public String getServerIpAddress()
ServiceInfoContract
getServerIpAddress
in interface ServiceInfoContract
public void setServerIpAddress(String serverIpAddress)
public String getType()
ServiceInfoContract
getType
in interface ServiceInfoContract
public String getServiceVersion()
ServiceInfoContract
CoreConstants.Versions#UNSPECIFIED
.getServiceVersion
in interface ServiceInfoContract
CoreConstants.Versions#UNSPECIFIED
if no version has been secified, should never return a null or blank valuepublic void setServiceVersion(String serviceVersion)
public String getStatusCode()
public void setStatusCode(String statusCode)
public String getServiceDescriptorId()
ServiceInfoContract
ServiceDescriptorContract
for this
service which includes more detailed information on this service.getServiceDescriptorId
in interface ServiceInfoContract
public void setServiceDescriptorId(String serviceDescriptorId)
public String getChecksum()
ServiceInfoContract
ServiceConfiguration
stored in the
ServiceDescriptorContract
for this service. This allows for fast
comparison of services during various registry operations.getChecksum
in interface ServiceInfoContract
public void setChecksum(String checksum)
public Long getVersionNumber()
ServiceInfoContract
getVersionNumber
in interface Versioned
getVersionNumber
in interface ServiceInfoContract
@Deprecated public void setVersionNumber(Long versionNumber)
public ServiceEndpointStatus getStatus()
ServiceInfoContract
getStatus
in interface ServiceInfoContract
public static ServiceInfo to(ServiceInfoBo bo)
public static ServiceInfoBo from(ServiceInfo im)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.