Class Phone
- java.lang.Object
-
- org.hibernate.testing.orm.domain.userguide.Phone
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCall(Call call)
Map<LocalDateTime,Call>
getCallHistory()
List<Call>
getCalls()
Long
getId()
String
getNumber()
Person
getPerson()
List<LocalDateTime>
getRepairTimestamps()
PhoneType
getType()
void
setId(Long id)
void
setPerson(Person person)
void
setType(PhoneType type)
-
-
-
Constructor Detail
-
Phone
public Phone()
-
Phone
public Phone(String number)
-
-
Method Detail
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
getNumber
public String getNumber()
-
getPerson
public Person getPerson()
-
setPerson
public void setPerson(Person person)
-
getType
public PhoneType getType()
-
setType
public void setType(PhoneType type)
-
getCallHistory
public Map<LocalDateTime,Call> getCallHistory()
-
getRepairTimestamps
public List<LocalDateTime> getRepairTimestamps()
-
addCall
public void addCall(Call call)
-
-