*/
public void setComment (final String comment);
- /**
- * Company name
- * <p>
- * @return the companyName
- */
- public String getCompanyName ();
-
- /**
- * Company name
- * <p>
- * @param companyName the companyName to set
- */
- public void setCompanyName (final String companyName);
-
/**
* Id number
* <p>
@Column (name = "comment")
private String comment;
- /**
- * Company name
- */
- @Column (name = "company_name", nullable = false)
- private String companyName;
-
/**
* Id number
*/
* @param gender Gender instance
* @param firstName First name
* @param familyName Family name
- * @param companyName Company name
*/
- public UserContact (final Gender gender, final String firstName, final String familyName, final String companyName) {
+ public UserContact (final Gender gender, final String firstName, final String familyName) {
// Set all
this.gender = gender;
this.firstName = firstName;
// - base data
this.setFirstName(contact.getFirstName());
this.setFamilyName(contact.getFamilyName());
- this.setCompanyName(contact.getCompanyName());
this.setStreet(contact.getStreet());
this.setZipCode(contact.getZipCode());
this.setCity(contact.getCity());
this.comment = comment;
}
- @Override
- public String getCompanyName () {
- return this.companyName;
- }
-
- @Override
- public void setCompanyName (final String companyName) {
- this.companyName = companyName;
- }
-
@Override
public Long getContactId () {
return this.contactId;