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

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

@Entity
public class ServiceDescriptorBo
extends Object
implements ServiceDescriptorContract, ModelObjectBasic, groovy.lang.GroovyObject

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.
 groovy.lang.MetaClass getMetaClass()
           
 Object getProperty(String property)
           
 Long getVersionNumber()
          Returns the version number for this object.
 Object invokeMethod(String method, Object arguments)
           
 void setDescriptor(String value)
           
 void setId(String value)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setProperty(String property, Object value)
           
 void setVersionNumber(Long value)
           
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

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass mc)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public Object invokeMethod(String method,
                           Object arguments)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String property)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String property,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject

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 value)

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 value)

getVersionNumber

public Long getVersionNumber()
Description copied from interface: Versioned
Returns the version number for this object. In general, this value should only be null if the object has not yet been stored to a persistent data store. This version number is generally used for the purposes of optimistic locking.

Specified by:
getVersionNumber in interface Versioned
Returns:
the version number, or null if one has not been assigned yet

setVersionNumber

public void setVersionNumber(Long value)

to

public static ServiceDescriptor to(ServiceDescriptorBo bo)

from

public static ServiceDescriptorBo from(ServiceDescriptor im)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.