@Entity public class Phone extends Object implements Serializable
Constructor and Description |
---|
Phone() |
Phone(Contact contact,
String phoneNumber) |
Phone(Contact contact,
String useType,
String phoneNumber) |
Modifier and Type | Method and Description |
---|---|
Contact |
getContact() |
Long |
getId() |
String |
getPhoneNumber() |
String |
getUseType() |
void |
setContact(Contact contact) |
void |
setId(Long id) |
void |
setPhoneNumber(String phoneNumber) |
void |
setUseType(String useType) |
public Long getId()
public void setId(Long id)
public Contact getContact()
public void setContact(Contact contact)
public String getUseType()
public void setUseType(String useType)
public String getPhoneNumber()
public void setPhoneNumber(String phoneNumber)
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.