java.lang.Object
org.hibernate.testing.orm.domain.userguide.Phone

@Entity public class Phone extends Object
  • Constructor Details

    • Phone

      public Phone()
    • Phone

      public Phone(String number)
  • Method Details

    • 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)
    • getCalls

      public List<Call> getCalls()
    • getCallHistory

      public Map<LocalDateTime,Call> getCallHistory()
    • getRepairTimestamps

      public List<LocalDateTime> getRepairTimestamps()
    • addCall

      public void addCall(Call call)