137 lines
2.6 KiB
Java
137 lines
2.6 KiB
Java
package eu.eudat.integrationevent.outbox.usertouched;
|
|
|
|
import eu.eudat.commons.enums.ContactInfoType;
|
|
import eu.eudat.integrationevent.TrackedEvent;
|
|
|
|
import java.util.List;
|
|
import java.util.UUID;
|
|
|
|
public class UserTouchedIntegrationEvent extends TrackedEvent {
|
|
|
|
private UUID id;
|
|
|
|
private UUID tenant;
|
|
|
|
private String name;
|
|
|
|
private String subjectId;
|
|
|
|
private UserProfile profile;
|
|
|
|
private List<UserContactInfo> userContactInfo;
|
|
|
|
public UUID getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(UUID id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public UUID getTenant() {
|
|
return tenant;
|
|
}
|
|
|
|
public void setTenant(UUID tenant) {
|
|
this.tenant = tenant;
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public String getSubjectId() {
|
|
return subjectId;
|
|
}
|
|
|
|
public void setSubjectId(String subjectId) {
|
|
this.subjectId = subjectId;
|
|
}
|
|
|
|
public UserProfile getProfile() {
|
|
return profile;
|
|
}
|
|
|
|
public void setProfile(UserProfile profile) {
|
|
this.profile = profile;
|
|
}
|
|
|
|
public List<UserContactInfo> getUserContactInfo() {
|
|
return userContactInfo;
|
|
}
|
|
|
|
public void setUserContactInfo(List<UserContactInfo> userContactInfo) {
|
|
this.userContactInfo = userContactInfo;
|
|
}
|
|
|
|
public static class UserProfile {
|
|
|
|
private String timezone;
|
|
|
|
private String culture;
|
|
|
|
private String language;
|
|
|
|
public String getTimezone() {
|
|
return timezone;
|
|
}
|
|
|
|
public void setTimezone(String timezone) {
|
|
this.timezone = timezone;
|
|
}
|
|
|
|
public String getCulture() {
|
|
return culture;
|
|
}
|
|
|
|
public void setCulture(String culture) {
|
|
this.culture = culture;
|
|
}
|
|
|
|
public String getLanguage() {
|
|
return language;
|
|
}
|
|
|
|
public void setLanguage(String language) {
|
|
this.language = language;
|
|
}
|
|
}
|
|
|
|
public static class UserContactInfo {
|
|
|
|
private ContactInfoType type;
|
|
|
|
private String value;
|
|
private int ordinal;
|
|
|
|
public ContactInfoType getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(ContactInfoType type) {
|
|
this.type = type;
|
|
}
|
|
|
|
public String getValue() {
|
|
return value;
|
|
}
|
|
|
|
public void setValue(String value) {
|
|
this.value = value;
|
|
}
|
|
|
|
public int getOrdinal() {
|
|
return ordinal;
|
|
}
|
|
|
|
public void setOrdinal(int ordinal) {
|
|
this.ordinal = ordinal;
|
|
}
|
|
}
|
|
|
|
}
|