public class ServiceItem extends Object implements Serializable, Cloneable
| Modifier and Type | Field and Description | 
|---|---|
Entry[] | 
attributeSets
Attribute sets. 
 | 
Object | 
service
A service object. 
 | 
ServiceID | 
serviceID
A service ID, or null if registering for the first time. 
 | 
| Constructor and Description | 
|---|
ServiceItem(ServiceID serviceID,
           Object service,
           Entry[] attrSets)
Simple constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ServiceItem | 
clone()
Clone has been implemented to allow utilities such as
  
ServiceDiscoveryManager to avoid sharing 
 internally stored instances with client code. | 
String | 
toString()
Returns a  
String representation of this 
 ServiceItem. | 
public ServiceID serviceID
public Object service
public Entry[] attributeSets
public String toString()
String representation of this 
 ServiceItem.public ServiceItem clone()
ServiceDiscoveryManager to avoid sharing 
 internally stored instances with client code.
 
 A deep copy clone is made