net.jini.lookup.entry
Class ServiceInfoBean

java.lang.Object
  |
  +--net.jini.lookup.entry.ServiceInfoBean

public class ServiceInfoBean
extends java.lang.Object
implements EntryBean, java.io.Serializable

A JavaBeans(TM) component that encapsulates a ServiceInfo object.

See Also:
ServiceInfo, Serialized Form

Field Summary
protected  ServiceInfo assoc
          The ServiceInfo object associated with this JavaBeans component.
 
Constructor Summary
ServiceInfoBean()
          Construct a new JavaBeans component, linked to a new empty ServiceInfo object.
 
Method Summary
 Entry followLink()
          Return the Entry linked to by this JavaBeans component.
 java.lang.String getManufacturer()
          Return the value of the manufacturer field in the ServiceInfo object linked to by this JavaBeans component.
 java.lang.String getModel()
          Return the value of the model field in the ServiceInfo object linked to by this JavaBeans component.
 java.lang.String getName()
          Return the value of the name field in the ServiceInfo object linked to by this JavaBeans component.
 java.lang.String getSerialNumber()
          Return the value of the serialNumber field in the ServiceInfo object linked to by this JavaBeans component.
 java.lang.String getVendor()
          Return the value of the vendor field in the ServiceInfo object linked to by this JavaBeans component.
 java.lang.String getVersion()
          Return the value of the version field in the ServiceInfo object linked to by this JavaBeans component.
 void makeLink(Entry e)
          Make a link to an Entry object.
 void setManufacturer(java.lang.String x)
          Set the value of the manufacturer field in the ServiceInfo object linked to by this JavaBeans component.
 void setModel(java.lang.String x)
          Set the value of the model field in the ServiceInfo object linked to by this JavaBeans component.
 void setName(java.lang.String x)
          Set the value of the name field in the ServiceInfo object linked to by this JavaBeans component.
 void setSerialNumber(java.lang.String x)
          Set the value of the serialNumber field in the ServiceInfo object linked to by this JavaBeans component.
 void setVendor(java.lang.String x)
          Set the value of the vendor field in the ServiceInfo object linked to by this JavaBeans component.
 void setVersion(java.lang.String x)
          Set the value of the version field in the ServiceInfo object linked to by this JavaBeans component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

assoc

protected ServiceInfo assoc
The ServiceInfo object associated with this JavaBeans component.
Constructor Detail

ServiceInfoBean

public ServiceInfoBean()
Construct a new JavaBeans component, linked to a new empty ServiceInfo object.
Method Detail

makeLink

public void makeLink(Entry e)
Make a link to an Entry object.
Specified by:
makeLink in interface EntryBean
Parameters:
e - the Entry object to link to
Throws:
java.lang.ClassCastException - the Entry is not of the correct type for this JavaBeans component

followLink

public Entry followLink()
Return the Entry linked to by this JavaBeans component.
Specified by:
followLink in interface EntryBean

getName

public java.lang.String getName()
Return the value of the name field in the ServiceInfo object linked to by this JavaBeans component.

setName

public void setName(java.lang.String x)
Set the value of the name field in the ServiceInfo object linked to by this JavaBeans component.

getManufacturer

public java.lang.String getManufacturer()
Return the value of the manufacturer field in the ServiceInfo object linked to by this JavaBeans component.

setManufacturer

public void setManufacturer(java.lang.String x)
Set the value of the manufacturer field in the ServiceInfo object linked to by this JavaBeans component.

getVendor

public java.lang.String getVendor()
Return the value of the vendor field in the ServiceInfo object linked to by this JavaBeans component.

setVendor

public void setVendor(java.lang.String x)
Set the value of the vendor field in the ServiceInfo object linked to by this JavaBeans component.

getVersion

public java.lang.String getVersion()
Return the value of the version field in the ServiceInfo object linked to by this JavaBeans component.

setVersion

public void setVersion(java.lang.String x)
Set the value of the version field in the ServiceInfo object linked to by this JavaBeans component.

getModel

public java.lang.String getModel()
Return the value of the model field in the ServiceInfo object linked to by this JavaBeans component.

setModel

public void setModel(java.lang.String x)
Set the value of the model field in the ServiceInfo object linked to by this JavaBeans component.

getSerialNumber

public java.lang.String getSerialNumber()
Return the value of the serialNumber field in the ServiceInfo object linked to by this JavaBeans component.

setSerialNumber

public void setSerialNumber(java.lang.String x)
Set the value of the serialNumber field in the ServiceInfo object linked to by this JavaBeans component.


Copyright © 1999 Sun Microsystems, Inc. All rights reserved