public abstract class StatusBean extends Object implements EntryBean, Serializable
Status,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected Status |
assoc
The Status object associated with this JavaBeans component.
|
| Modifier | Constructor and Description |
|---|---|
protected |
StatusBean()
Unlike other EntryBean constructors, this one does not
establish a link to a new object.
|
| Modifier and Type | Method and Description |
|---|---|
Entry |
followLink()
Return the Entry linked to by this JavaBeans component.
|
StatusType |
getSeverity()
Get the value of the severity field of the Status object to
which this JavaBeans component is linked.
|
void |
makeLink(Entry e)
Make a link to an Entry object.
|
void |
setSeverity(StatusType x)
Set the value of the severity field of the Status object to
which this JavaBeans component is linked.
|
protected Status assoc
protected StatusBean()
public void makeLink(Entry e)
makeLink in interface EntryBeane - the Entry object to link toClassCastException - the Entry is not of the
correct type for this componentpublic Entry followLink()
followLink in interface EntryBeanpublic StatusType getSeverity()
setSeverity(net.jini.lookup.entry.StatusType)public void setSeverity(StatusType x)
x - the new value to put in placegetSeverity()Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.