package de.sb.messenger.persistence;

import javax.persistence.Embeddable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

@Embeddable 
public class Address {

	@Size(min = 0, max = 63) @Pattern(regexp = "^([^0-9]{2,} [0-9]+)?$")
	private String street;
	@Size(min = 0, max = 15) @Pattern(regexp = "^[0-9]*$")
	private String postcode;
	@NotNull @Size(min = 1, max = 63) @Pattern(regexp = "^([^0-9]{2,})?$")
	private String city;

	public Address() {
		this.street = null;
		this.postcode = null;
		this.city = null;
	}

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public String getPostcode() {
		return postcode;
	}

	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}
}

@@ -332,16 +332,18 @@
 street;%0A
+%09%0A
 %09@Size(m
@@ -416,16 +416,18 @@
 stcode;%0A
+%09%0A
 %09@NotNul

Update Address.java