public class PlainServiceDetails extends Object implements ServiceDetails, Externalizable
ServiceDetails.| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
attributes |
protected String |
description |
protected String |
id |
protected String |
longDescription |
protected String |
serviceSubType |
protected String |
serviceType |
| Constructor and Description |
|---|
PlainServiceDetails() |
PlainServiceDetails(String id,
String serviceType,
String serviceSubType,
String description,
String longDescription) |
| Modifier and Type | Method and Description |
|---|---|
AggregatedServiceDetails |
aggregateById(ServiceDetails[] servicesDetails) |
AggregatedServiceDetails |
aggregateByServiceSubType(ServiceDetails[] servicesDetails) |
AggregatedServiceDetails |
aggregateByServiceType(ServiceDetails[] servicesDetails) |
Map<String,Object> |
getAttributes()
Returns extra attributes the service details wishes to expose.
|
String |
getDescription()
Returns a short description of the service.
|
String |
getId()
Returns the id of the processing unit (usually the bean id).
|
String |
getLongDescription()
Returns the long description
|
String |
getServiceSubType()
Returns the type of the serive details.
|
String |
getServiceType()
Returns the service type.
|
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
protected String id
protected String serviceType
protected String serviceSubType
protected String description
protected String longDescription
public String getId()
ServiceDetailsgetId in interface ServiceDetailspublic String getServiceType()
ServiceDetailsgetServiceType in interface ServiceDetailspublic String getServiceSubType()
ServiceDetailsgetServiceSubType in interface ServiceDetailspublic String getDescription()
ServiceDetailsgetDescription in interface ServiceDetailspublic String getLongDescription()
ServiceDetailsgetLongDescription in interface ServiceDetailspublic Map<String,Object> getAttributes()
ServiceDetailsgetAttributes in interface ServiceDetailspublic AggregatedServiceDetails aggregateByServiceType(ServiceDetails[] servicesDetails)
public AggregatedServiceDetails aggregateByServiceSubType(ServiceDetails[] servicesDetails)
public AggregatedServiceDetails aggregateById(ServiceDetails[] servicesDetails)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © GigaSpaces.