- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 29 of file ContactGroup.java.
◆ ContactGroup()
org.turro.contacts.util.ContactGroup.ContactGroup |
( |
Object |
object | ) |
|
◆ getObject()
Object org.turro.contacts.util.ContactGroup.getObject |
( |
| ) |
|
Definition at line 65 of file ContactGroup.java.
67 return (String) value;
70 if(value ==
null)
return null;
71 return new ContactsPU().find(Contact.class, value);
◆ getObjectString()
String org.turro.contacts.util.ContactGroup.getObjectString |
( |
| ) |
|
Definition at line 86 of file ContactGroup.java.
88 return (String) value;
92 if(o ==
null)
return null;
◆ getRealValue()
String org.turro.contacts.util.ContactGroup.getRealValue |
( |
| ) |
|
Definition at line 50 of file ContactGroup.java.
51 if(Strings.isEmpty(value))
return null;
52 return (
isRole() ?
"*R*" :
"") + value;
◆ getValue()
Object org.turro.contacts.util.ContactGroup.getValue |
( |
| ) |
|
◆ isRole()
boolean org.turro.contacts.util.ContactGroup.isRole |
( |
| ) |
|
◆ setObject()
void org.turro.contacts.util.ContactGroup.setObject |
( |
Object |
value | ) |
|
Definition at line 75 of file ContactGroup.java.
76 if(value instanceof Contact) {
77 this.value = ((Contact) value).getId();
81 this.value = (String) value;
◆ setRealValue()
ContactGroup org.turro.contacts.util.ContactGroup.setRealValue |
( |
String |
value | ) |
|
Definition at line 55 of file ContactGroup.java.
57 if(value !=
null && value.startsWith(
"*R*")) {
59 value = value.substring(3);
◆ setRole()
void org.turro.contacts.util.ContactGroup.setRole |
( |
boolean |
role | ) |
|
The documentation for this class was generated from the following file: