◆ AddressAttribute()
org.turro.contacts.proposal.AddressAttribute.AddressAttribute |
( |
Address |
attribute | ) |
|
◆ addToContact()
void org.turro.contacts.proposal.AddressAttribute.addToContact |
( |
Contact |
contact | ) |
|
◆ generateAttributeAdapter()
IAttribute org.turro.contacts.proposal.AddressAttribute.generateAttributeAdapter |
( |
final Address |
a | ) |
|
Definition at line 76 of file AddressAttribute.java.
77 return new IAttribute() {
81 return a.getFullAddress();
86 return a.getContact();
◆ generateRelated()
List<Address> org.turro.contacts.proposal.AddressAttribute.generateRelated |
( |
| ) |
|
|
protected |
Definition at line 43 of file AddressAttribute.java.
44 Dao dao =
new ContactsPU();
45 WhereClause wc =
new WhereClause();
46 wc.addClause(
"select address from Address as address");
47 wc.addClause(
"where address.street = :street");
48 wc.addClause(
"and address.city = :city");
49 wc.addNamedValue(
"street",
attribute.getStreet());
50 wc.addNamedValue(
"city",
attribute.getCity());
51 return dao.getResultList(wc);
◆ getAsString()
String org.turro.contacts.proposal.AddressAttribute.getAsString |
( |
| ) |
|
◆ getAttributeName()
String org.turro.contacts.proposal.AddressAttribute.getAttributeName |
( |
| ) |
|
◆ getContact()
Contact org.turro.contacts.proposal.AddressAttribute.getContact |
( |
| ) |
|
The documentation for this class was generated from the following file: