Class PostalInfo
- java.lang.Object
-
- info.ejava.examples.ejb.interceptor.bo.ContactInfo
-
- info.ejava.examples.ejb.interceptor.bo.PostalInfo
-
- All Implemented Interfaces:
Serializable
@Entity public class PostalInfo extends ContactInfo
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private @NotNull(groups=PreNormalizedCheck.class) @Valid PostalAddress
address
private @NotNull(groups={PreNormalizedCheck.class,PrePersistCheck.class}) AddressType
type
-
Constructor Summary
Constructors Constructor Description PostalInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PostalAddress
getAddress()
ContactType
getContactType()
AddressType
getType()
void
setAddress(PostalAddress address)
void
setType(AddressType type)
String
toString()
-
Methods inherited from class info.ejava.examples.ejb.interceptor.bo.ContactInfo
getContact, getId, getRole, setContact, setRole
-
-
-
-
Field Detail
-
type
@NotNull(groups={PreNormalizedCheck.class,PrePersistCheck.class}) private @NotNull(groups={PreNormalizedCheck.class,PrePersistCheck.class}) AddressType type
-
address
@NotNull(groups=PreNormalizedCheck.class) @Valid private @NotNull(groups=PreNormalizedCheck.class) @Valid PostalAddress address
-
-
Method Detail
-
getContactType
public ContactType getContactType()
- Specified by:
getContactType
in classContactInfo
-
getType
public AddressType getType()
-
setType
public void setType(AddressType type)
-
getAddress
public PostalAddress getAddress()
-
setAddress
public void setAddress(PostalAddress address)
-
-