|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.samples.petclinic.BaseEntity org.springframework.samples.petclinic.Visit
public class Visit
Simple JavaBean domain object representing a visit.
Constructor Summary | |
---|---|
Visit()
Creates a new instance of Visit for the current date |
Method Summary | |
---|---|
java.util.Date |
getDate()
Getter for property date. |
java.lang.String |
getDescription()
Getter for property description. |
Pet |
getPet()
Getter for property pet. |
void |
setDate(java.util.Date date)
Setter for property date. |
void |
setDescription(java.lang.String description)
Setter for property description. |
void |
setPet(Pet pet)
Setter for property pet. |
Methods inherited from class org.springframework.samples.petclinic.BaseEntity |
---|
getId, isNew, setId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Visit()
Method Detail |
---|
public java.util.Date getDate()
public void setDate(java.util.Date date)
date
- New value of property date.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- New value of property description.public Pet getPet()
public void setPet(Pet pet)
pet
- New value of property pet.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |