public class ServiceInfoBean extends Object implements EntryBean, Serializable
ServiceInfo
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected ServiceInfo |
assoc
The ServiceInfo object associated with this JavaBeans component.
|
Constructor and Description |
---|
ServiceInfoBean()
Construct a new JavaBeans component, linked to a new empty
ServiceInfo object.
|
Modifier and Type | Method and Description |
---|---|
Entry |
followLink()
Return the Entry linked to by this JavaBeans component.
|
String |
getManufacturer()
Return the value of the manufacturer field in the ServiceInfo
object linked to by this JavaBeans component.
|
String |
getModel()
Return the value of the model field in the ServiceInfo object
linked to by this JavaBeans component.
|
String |
getName()
Return the value of the name field in the ServiceInfo object linked
to by this JavaBeans component.
|
String |
getSerialNumber()
Return the value of the serialNumber field in the ServiceInfo object
linked to by this JavaBeans component.
|
String |
getVendor()
Return the value of the vendor field in the ServiceInfo object
linked to by this JavaBeans component.
|
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(String x)
Set the value of the manufacturer field in the ServiceInfo
object linked to by this JavaBeans component.
|
void |
setModel(String x)
Set the value of the model field in the ServiceInfo object
linked to by this JavaBeans component.
|
void |
setName(String x)
Set the value of the name field in the ServiceInfo object
linked to by this JavaBeans component.
|
void |
setSerialNumber(String x)
Set the value of the serialNumber field in the ServiceInfo object
linked to by this JavaBeans component.
|
void |
setVendor(String x)
Set the value of the vendor field in the ServiceInfo object
linked to by this JavaBeans component.
|
void |
setVersion(String x)
Set the value of the version field in the ServiceInfo object
linked to by this JavaBeans component.
|
protected ServiceInfo assoc
public ServiceInfoBean()
public void makeLink(Entry e)
makeLink
in interface EntryBean
e
- the Entry object to link toClassCastException
- the Entry is not of the
correct type for this JavaBeans componentpublic Entry followLink()
followLink
in interface EntryBean
public String getName()
setName(java.lang.String)
public void setName(String x)
x
- a String specifying the name valuegetName()
public String getManufacturer()
setManufacturer(java.lang.String)
public void setManufacturer(String x)
x
- a String specifying the manufacturer valuegetManufacturer()
public String getVendor()
setVendor(java.lang.String)
public void setVendor(String x)
x
- a String specifying the vendor valuegetVendor()
public String getVersion()
setVersion(java.lang.String)
public void setVersion(String x)
x
- a String specifying the version valuegetVersion()
public String getModel()
setModel(java.lang.String)
public void setModel(String x)
x
- a String specifying the model valuegetModel()
public String getSerialNumber()
setSerialNumber(java.lang.String)
public void setSerialNumber(String x)
x
- a String specifying the serial numbergetSerialNumber()
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.