public class AddressBean extends Object implements EntryBean, Serializable
Address
,
Location
,
LocationBean
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected Address |
assoc
The Address object associated with this JavaBeans component.
|
Constructor and Description |
---|
AddressBean()
Construct an instance of this JavaBeans component that is
linked to a new Address object.
|
Modifier and Type | Method and Description |
---|---|
Entry |
followLink()
Return the Entry linked to by this JavaBeans component.
|
String |
getCountry()
Return the value of the country field in the Address object linked to
by this JavaBeans component.
|
String |
getLocality()
Return the value of the locality field in the Address object linked
to by this JavaBeans component.
|
String |
getOrganization()
Return the value of the organization field in the Address object linked
to by this JavaBeans component.
|
String |
getOrganizationalUnit()
Return the value of the organizationalUnit field in the Address object
linked to by this JavaBeans component.
|
String |
getPostalCode()
Return the value of the postalCode field in the Address object linked
to by this JavaBeans component.
|
String |
getStateOrProvince()
Return the value of the stateOrProvince field in the Address object
linked to by this JavaBeans component.
|
String |
getStreet()
Return the value of the street field in the Address object linked to by
this JavaBeans component.
|
void |
makeLink(Entry e)
Make a link to an Entry object.
|
void |
setCountry(String x)
Set the value of the country field in the Address object linked to by
this JavaBeans component.
|
void |
setLocality(String x)
Set the value of the locality field in the Address object linked to
by this JavaBeans component.
|
void |
setOrganization(String x)
Set the value of the organization field in the Address object linked to
by this JavaBeans component.
|
void |
setOrganizationalUnit(String x)
Set the value of the organizationalUnit field in the Address object
linked to by this JavaBeans component.
|
void |
setPostalCode(String x)
Set the value of the postalCode field in the Address object linked to
by this JavaBeans component.
|
void |
setStateOrProvince(String x)
Set the value of the stateOrProvince field in the Address object
linked to by this JavaBeans component.
|
void |
setStreet(String x)
Set the value of the street field in the Address object linked to by
this JavaBeans component.
|
protected Address assoc
public AddressBean()
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 getStreet()
String
representing the street valuesetStreet(java.lang.String)
public void setStreet(String x)
x
- a String
specifying the streetgetStreet()
public String getOrganization()
String
representing the organizationsetOrganization(java.lang.String)
public void setOrganization(String x)
x
- a String
specifying the organizationgetOrganization()
public String getOrganizationalUnit()
String
representing the organizational unitsetOrganizationalUnit(java.lang.String)
public void setOrganizationalUnit(String x)
x
- a String
specifying the organizational unitgetOrganizationalUnit()
public String getLocality()
String
representing the localitysetLocality(java.lang.String)
public void setLocality(String x)
x
- a String
specifying the localitygetLocality()
public String getStateOrProvince()
String
representing the state or provincesetStateOrProvince(java.lang.String)
public void setStateOrProvince(String x)
x
- a String
specifying the state or provincegetStateOrProvince()
public String getPostalCode()
String
representing the postal codesetPostalCode(java.lang.String)
public void setPostalCode(String x)
x
- a String
specifying the postal codegetPostalCode()
public String getCountry()
String
representing the countrysetCountry(java.lang.String)
public void setCountry(String x)
x
- a String
specifying the countrygetCountry()
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.