Package com.bhn.risk.order.domain
Class Address
java.lang.Object
com.bhn.risk.common.SmartObject<Address>
com.bhn.risk.order.domain.Address
Address class.
- Version:
- $Id: $Id
- Author:
- pvela00
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.bhn.risk.common.SmartObject
addSerializableClass, addSerializableClass, addSerializableClass, compareTo, copy, createMapper, equals, fromString, fromString, hashCode, toExposedString, toString, toString, toString
-
Field Details
-
firstName
@NotNull(errorCode="address.firstName.null", message="address.firstName is mandatory") @NotBlank(errorCode="address.firstName.blank", message="address.firstName cannot be blank") public String firstName -
lastName
@NotNull(errorCode="address.lastName.null", message="address.lastName is mandatory") @NotBlank(errorCode="address.lastName.blank", message="address.lastName cannot be blank") public String lastName -
addressLine1
@NotNull(errorCode="address.addressLine1.null", message="address.addressLine1 is mandatory") @NotBlank(errorCode="address.addressLine1.blank", message="address.addressLine1 cannot be blank") @Length(max=65, errorCode="address.addressLine1.invalidLength", message="Max length of address.addressLine1 is 65 characters") public String addressLine1 -
addressLine2
@NotBlank(errorCode="address.addressLine2.blank", message="address.addressLine2 cannot be blank") @Length(max=65, errorCode="address.addressLine2.invalidLength", message="Max length of address.addressLine2 is 65 characters") public String addressLine2 -
addressLine3
@NotBlank(errorCode="address.addressLine3.blank", message="address.addressLine3 cannot be blank") @Length(max=65, errorCode="address.addressLine3.invalidLength", message="Max length of address.addressLine3 is 65 characters") public String addressLine3 -
companyName
@NotBlank(errorCode="address.companyName.blank", message="address.companyName cannot be blank") @Length(max=40, errorCode="address.companyName.invalidLength", message="Max length of address.companyName is 40 characters") public String companyName -
city
@NotNull(errorCode="address.city.null", message="address.city is mandatory") @NotBlank(errorCode="address.city.blank", message="address.city cannot be blank") @Length(max=50, errorCode="address.city.invalidLength", message="Max length of address.city is 50 characters") public String city -
stateOrProvince
@NotBlank(errorCode="address.stateOrProvince.blank", message="address.stateOrProvince cannot be blank") @Length(max=35, errorCode="address.stateOrProvince.invalidLength", message="Max length of address.stateOrProvince 35 characters") public String stateOrProvince -
districtOrCounty
@NotBlank(errorCode="address.districtOrCounty.blank", message="address.districtOrCounty cannot be blank") @Length(max=50, errorCode="address.districtOrCounty.invalidLength", message="Max length of address.districtOrCounty is 50 characters") public String districtOrCounty -
postalCode
@NotBlank(errorCode="address.postalCode.blank", message="address.postalCode cannot be blank") @Length(max=20, errorCode="address.postalCode.invalidLength", message="Max length of address.postalCode 20 characters") public String postalCode -
countryCode
@NotNull(errorCode="address.countryCode.null", message="address.countryCode is mandatory") @NotBlank(errorCode="address.countryCode.blank", message="address.countryCode cannot be blank") @Length(max=3, errorCode="address.countryCode.invalidLength", message="Max length of address.countryCode is 3 characters") public String countryCode -
phoneNumber
@NotBlank(errorCode="address.phoneNumber.blank", message="address.phoneNumber cannot be blank") @Length(max=50, errorCode="address.phoneNumber.invalidLength", message="Max length of address.phoneNumber is 50 characters") public String phoneNumber -
emailAddress
@NotBlank(errorCode="address.emailAddress.blank", message="address.emailAddress cannot be blank") @Length(max=255, errorCode="address.emailAddress.invalidLength", message="Max length of address.emailAddress is 255 characters") public String emailAddress -
addressType
-
-
Constructor Details
-
Address
public Address()
-