public abstract class StatusBean extends Object implements EntryBean, Serializable
Status
,
Serialized FormModifier 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 EntryBean
e
- the Entry object to link toClassCastException
- the Entry is not of the
correct type for this componentpublic Entry followLink()
followLink
in interface EntryBean
public StatusType getSeverity()
setSeverity(net.jini.lookup.entry.StatusType)
public void setSeverity(StatusType x)
x
- the new value to put in placegetSeverity()
Copyright © 2016–2018. All rights reserved.