org.kuali.rice.ksb.impl.registry
Class ServiceDescriptorBo

java.lang.Object
  extended by org.kuali.rice.ksb.impl.registry.ServiceDescriptorBo
All Implemented Interfaces:
Serializable, Versioned, ModelObjectBasic, ServiceDescriptorContract

@Entity
public class ServiceDescriptorBo
extends Object
implements ServiceDescriptorContract, ModelObjectBasic

See Also:
Serialized Form

Constructor Summary
ServiceDescriptorBo()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 

Constructor Detail

ServiceDescriptorBo

public ServiceDescriptorBo()
Method Detail

getId

public String getId()
Description copied from interface: ServiceDescriptorContract
Returns the id of this service descriptor. This value should be unique across service descriptors. This value is generated when the service is published to the registry, so this value can be null if the service has not yet been published to the registry.

Specified by:
getId in interface ServiceDescriptorContract
Returns:
the id of this service descriptor, or null if the service and it's descriptor has not yet been published to the registry

setId

public void setId(String id)

getDescriptor

public String getDescriptor()
Description copied from interface: ServiceDescriptorContract
Returns an XML value which can be used to materialize the ServiceConfiguration for the service.

Specified by:
getDescriptor in interface ServiceDescriptorContract
Returns:
the XML representation of the ServiceConfiguration for the service, should never return a null or blank value

setDescriptor

public void setDescriptor(String descriptor)

getVersionNumber

public Long getVersionNumber()
Description copied from interface: ServiceDescriptorContract
Deprecated: Will always return null as service descriptors have no version number column. This was included on the contract interface by mistake during the original implementation.

Specified by:
getVersionNumber in interface Versioned
Specified by:
getVersionNumber in interface ServiceDescriptorContract
Returns:
always returns null

to

public static ServiceDescriptor to(ServiceDescriptorBo bo)

from

public static ServiceDescriptorBo from(ServiceDescriptor im)


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.