public static final class ServiceDescriptor.Builder extends Object implements Serializable, ModelBuilder, ServiceDescriptorContract
ServiceDescriptor instances.  Enforces the constraints of the ServiceDescriptorContract.| Modifier and Type | Method and Description | 
|---|---|
| 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  ServiceConfigurationfor the service. | 
| String | getId()Returns the id of this service descriptor. | 
| Long | getVersionNumber()Returns the version number for this object. | 
| void | setDescriptor(String descriptor) | 
| void | setId(String id) | 
| void | setVersionNumber(Long versionNumber) | 
public static ServiceDescriptor.Builder create()
public static ServiceDescriptor.Builder create(ServiceDescriptorContract contract)
public ServiceDescriptor build()
ModelBuilderbuild in interface ModelBuilderpublic String getId()
ServiceDescriptorContractgetId 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()
VersionedgetVersionNumber in interface Versionedpublic void setDescriptor(String descriptor)
public void setVersionNumber(Long versionNumber)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.