public class NameBean extends Object implements EntryBean, Serializable
Name
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected Name |
assoc
The Name object associated with this JavaBeans component.
|
Constructor and Description |
---|
NameBean()
Construct a new JavaBeans component, linked to a new empty Name object.
|
Modifier and Type | Method and Description |
---|---|
Entry |
followLink()
Return the Name linked to by this JavaBeans component.
|
String |
getName()
Return the value of the name field in the object linked to by
this JavaBeans component.
|
void |
makeLink(Entry e)
Make a link to an Entry object.
|
void |
setName(String x)
Set the value of the name field in the object linked to by this
JavaBeans component.
|
protected Name assoc
public NameBean()
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)
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.