◆ ConnectorAttribute()
org.turro.contacts.proposal.ConnectorAttribute.ConnectorAttribute |
( |
Connector |
attribute | ) |
|
Definition at line 35 of file ConnectorAttribute.java.
38 IUser.CONNECTOR_TRADE.equals(
attribute.getDescription()) ||
39 IUser.CONNECTOR_FISCAL.equals(
attribute.getDescription())) ?
41 DuplicationType.WARN_DUPLICATION;
◆ addToContact()
void org.turro.contacts.proposal.ConnectorAttribute.addToContact |
( |
Contact |
contact | ) |
|
◆ generateAttributeAdapter()
IAttribute org.turro.contacts.proposal.ConnectorAttribute.generateAttributeAdapter |
( |
final Connector |
a | ) |
|
Definition at line 76 of file ConnectorAttribute.java.
77 return new IAttribute() {
81 return a.getFullConnector();
86 return a.getContact();
◆ generateRelated()
List<Connector> org.turro.contacts.proposal.ConnectorAttribute.generateRelated |
( |
| ) |
|
|
protected |
Definition at line 45 of file ConnectorAttribute.java.
46 Dao dao =
new ContactsPU();
47 WhereClause wc =
new WhereClause();
48 wc.addClause(
"select connector from Connector as connector");
49 wc.addClause(
"where connector.value = :value");
50 wc.addNamedValue(
"value",
attribute.getValue());
51 return dao.getResultList(wc);
◆ getAsString()
String org.turro.contacts.proposal.ConnectorAttribute.getAsString |
( |
| ) |
|
◆ getAttributeName()
String org.turro.contacts.proposal.ConnectorAttribute.getAttributeName |
( |
| ) |
|
◆ getContact()
Contact org.turro.contacts.proposal.ConnectorAttribute.getContact |
( |
| ) |
|
The documentation for this class was generated from the following file: