|
||||||||||
| 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
public final class ServiceDescriptor
Immutable implementation of the ServiceDescriptorContract interface.
Includes a serialized XML representation of the ServiceConfiguration
for the service.
| Nested Class Summary | |
|---|---|
static class |
ServiceDescriptor.Builder
A builder which can be used to construct ServiceDescriptor instances. |
(package private) static class |
ServiceDescriptor.Constants
Defines some internal constants used on this class. |
(package private) static class |
ServiceDescriptor.Elements
A private class which exposes constants which define the XML element names to use when this object is marshalled to XML. |
| Field Summary | |
|---|---|
private Collection<Element> |
_futureElements
|
private String |
descriptor
|
private String |
id
|
private static long |
serialVersionUID
|
private Long |
versionNumber
|
| Constructor Summary | |
|---|---|
private |
ServiceDescriptor()
Private constructor used only by JAXB. |
private |
ServiceDescriptor(ServiceDescriptor.Builder builder)
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
All "Complete" model object's should adhere to the ModelObjectComplete.equals(Object) 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()
Returns the version number for this object. |
int |
hashCode()
All "Complete" model object's should adhere to the ModelObjectComplete.hashCode() contract. |
String |
toString()
This will return a proper string representation of the Model Object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private final String id
private final String descriptor
private final Long versionNumber
private final Collection<Element> _futureElements
| Constructor Detail |
|---|
private ServiceDescriptor()
private ServiceDescriptor(ServiceDescriptor.Builder builder)
| Method Detail |
|---|
public 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()
Versioned
getVersionNumber in interface Versionedpublic int hashCode()
ModelObjectCompleteModelObjectComplete.hashCode() contract.
hashCode in interface ModelObjectCompletehashCode in class Objectpublic boolean equals(Object object)
ModelObjectCompleteModelObjectComplete.equals(Object) contract.
equals in interface ModelObjectCompleteequals in class Objectobject - to object to compare for equality
public String toString()
ModelObjectBasic
toString in interface ModelObjectBasictoString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||