this.countryCode = countryCode;
}
- /**
- * "Serializes" this object into a CSV string (this time with semicolons)
- *
- * @return "CSV-serialized" version of the stored data
- * @deprecated Don't use this anymore
- */
- @Deprecated
- public String getCsvStringFromStoreableObject () {
- // Trace message
- this.getLogger().trace("CALLED!"); //NOI18N
-
- // Get all together
- String csvString = String.format(
- "\"%s\";\"%s\";\"%s\";\"%s\";\"%s\";\"%s\";\"%s\";\"%s\";\"%s\";\"%s\";\"%s\";\"%s\";\"%s\";\"%s\";\"%s\"", //NOI18N
- this.isOwnContact(),
- this.getGender().name(),
- this.getSurname(),
- this.getFamilyName(),
- this.getCompanyName(),
- this.getStreet(),
- this.getZipCode(),
- this.getCity(),
- this.getCountryCode(),
- this.getPhoneNumber(),
- this.getFaxNumber(),
- this.getCellphoneNumber(),
- this.getEmailAddress(),
- this.getBirthday(),
- this.getComment()
- );
-
- // Then return it
- return csvString;
- }
-
/**
* Email address
*
* @return Whether all conditions are met
*/
@Override
- public boolean isValueEqual (final String columnName, final boolean bool) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException {
+ public boolean isFieldValueEqual (final String columnName, final boolean bool) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException {
// Trace message
this.getLogger().trace(MessageFormat.format("columnName={0},bool={1} - CALLED!", columnName, bool));
protected final void enableFlagOwnContact () {
this.ownContact = true;
}
+
+ @Override
+ public void setValueFromColumn (final String columnName, final Object value) throws NoSuchMethodException, IllegalAccessException, IllegalArgumentException, InvocationTargetException {
+ // Trace message
+ this.getLogger().trace(MessageFormat.format("columnName={0},value={1} - CALLED!", columnName, value));
+
+ // Call super method
+ this.setValueInStoreableFromColumn(this, "BaseContact", columnName, value);
+
+ // Trace message
+ this.getLogger().trace("EXIT!");
+ }
}