package net.contargo.types.contactinfo;

import net.contargo.types.telephony.PhoneNumber;


/**
 * Contact options for a user in the COLA environment.
 *
 * @author  jayasinghe@synyx.de
 */
public class ContactInformation {

    private final String userUUID;
    private final PhoneNumber mobile;
    private final PhoneNumber phone;
    private final String email;

    public ContactInformation(String userUUID, String mobile, String phone, String email) {

        this.userUUID = userUUID;
        this.mobile = new PhoneNumber(mobile);
        this.phone = new PhoneNumber(phone);
        this.email = email;
    }

    public String getUserUUID() {

        return userUUID;
    }


    public PhoneNumber getMobile() {

        return mobile;
    }


    public PhoneNumber getPhone() {

        return phone;
    }


    public String getEmail() {

        return email;
    }
}

@@ -470,17 +470,17 @@
 this
-.
+(
 userUUID
  = u
@@ -479,111 +479,268 @@
 UUID
- = userUUID;%0A        this.mobile = new PhoneNumber(mobile);%0A        this.phone = new PhoneNumber(
+, new PhoneNumber(mobile), new PhoneNumber(phone), email);%0A    %7D%0A%0A%0A    public ContactInformation(String userUUID, PhoneNumber mobile, PhoneNumber phone, String email) %7B%0A%0A        this.userUUID = userUUID;%0A        this.mobile = mobile;%0A        this.phone = 
 phone
-)
 ;%0A  

modify Contactinformation constructors