@Entity public class Contact extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private List<ContactInfo> |
contactInfo |
private int |
id |
private static org.slf4j.Logger |
logger |
private String |
name |
private String |
normalizedName |
Constructor and Description |
---|
Contact() |
Modifier and Type | Method and Description |
---|---|
List<ContactInfo> |
getContactInfo() |
int |
getId() |
String |
getName() |
private void |
normalizeName() |
void |
setName(String name) |
String |
toString() |
Contact |
withName(String name) |
private static final org.slf4j.Logger logger
private int id
@NotNull(groups={PreNormalizedCheck.class,PrePersistCheck.class}) @Size(min=1, max=32, groups={PostNormalizedCheck.class,PrePersistCheck.class}) @Pattern(regexp="^[A-Za-z0-9-\\ ]+$",groups=PreNormalizedCheck.class) @Pattern(regexp="^([A-Z][a-z0-9-]+\\ *)+$",groups=PostNormalizedCheck.class) private String name
private String normalizedName
private List<ContactInfo> contactInfo
private void normalizeName()
public int getId()
public String getName()
public void setName(String name)
public List<ContactInfo> getContactInfo()
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.