@Override public Map<String, Object> getModelAttributes() { Map<String, Object> attributes = new HashMap<String, Object>(); attributes.put("mvccVersion", getMvccVersion()); attributes.put("uuid", getUuid()); attributes.put("addressId", getAddressId()); attributes.put("companyId", getCompanyId()); attributes.put("userId", getUserId()); attributes.put("userName", getUserName()); attributes.put("createDate", getCreateDate()); attributes.put("modifiedDate", getModifiedDate()); attributes.put("classNameId", getClassNameId()); attributes.put("classPK", getClassPK()); attributes.put("street1", getStreet1()); attributes.put("street2", getStreet2()); attributes.put("street3", getStreet3()); attributes.put("city", getCity()); attributes.put("zip", getZip()); attributes.put("regionId", getRegionId()); attributes.put("countryId", getCountryId()); attributes.put("typeId", getTypeId()); attributes.put("mailing", isMailing()); attributes.put("primary", isPrimary()); return attributes; }