@Entity public class ServiceDescriptorBo extends Object implements ServiceDescriptorContract, ModelObjectBasic
Constructor and Description |
---|
ServiceDescriptorBo() |
Modifier and Type | Method and Description |
---|---|
static ServiceDescriptorBo |
from(ServiceDescriptor im) |
String |
getDescriptor()
Returns an XML value which can be used to materialize the
ServiceConfiguration
for the service. |
String |
getId()
Returns the id of this service descriptor.
|
Long |
getVersionNumber()
Deprecated: Will always return null as service descriptors have no version number column.
|
void |
setDescriptor(String descriptor) |
void |
setId(String id) |
static ServiceDescriptor |
to(ServiceDescriptorBo bo) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public ServiceDescriptorBo()
public String getId()
ServiceDescriptorContract
getId
in interface ServiceDescriptorContract
public String getDescriptor()
ServiceDescriptorContract
ServiceConfiguration
for the service.getDescriptor
in interface ServiceDescriptorContract
ServiceConfiguration
for the service,
should never return a null or blank valuepublic void setDescriptor(String descriptor)
public Long getVersionNumber()
ServiceDescriptorContract
getVersionNumber
in interface Versioned
getVersionNumber
in interface ServiceDescriptorContract
public static ServiceDescriptor to(ServiceDescriptorBo bo)
public static ServiceDescriptorBo from(ServiceDescriptor im)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.