|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.ksb.api.registry.ServiceDescriptor.Builder
public static final class ServiceDescriptor.Builder
A builder which can be used to construct ServiceDescriptor instances. Enforces the constraints of the ServiceDescriptorContract.
| Method Summary | |
|---|---|
ServiceDescriptor |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static ServiceDescriptor.Builder |
create()
|
static ServiceDescriptor.Builder |
create(ServiceDescriptorContract contract)
|
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)
|
void |
setVersionNumber(Long versionNumber)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ServiceDescriptor.Builder create()
public static ServiceDescriptor.Builder create(ServiceDescriptorContract contract)
public ServiceDescriptor build()
ModelBuilder
build in interface ModelBuilderpublic String getId()
ServiceDescriptorContract
getId in interface ServiceDescriptorContractpublic String getDescriptor()
ServiceDescriptorContractServiceConfiguration
for the service.
getDescriptor in interface ServiceDescriptorContractServiceConfiguration for the service,
should never return a null or blank valuepublic Long getVersionNumber()
ServiceDescriptorContract
getVersionNumber in interface VersionedgetVersionNumber in interface ServiceDescriptorContractpublic void setId(String id)
public void setDescriptor(String descriptor)
public void setVersionNumber(Long versionNumber)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||