📄 pet.java
字号:
public String getLicensetagnumber() { return licensetagnumber; } public void setLicensetagnumber(String licensetagnumber) { String oldLicensetagnumber = this.licensetagnumber; this.licensetagnumber = licensetagnumber; changeSupport.firePropertyChange("licensetagnumber", oldLicensetagnumber, licensetagnumber); } public String getRabiestagnumber() { return rabiestagnumber; } public void setRabiestagnumber(String rabiestagnumber) { String oldRabiestagnumber = this.rabiestagnumber; this.rabiestagnumber = rabiestagnumber; changeSupport.firePropertyChange("rabiestagnumber", oldRabiestagnumber, rabiestagnumber); } public String getMicrochipid() { return microchipid; } public void setMicrochipid(String microchipid) { String oldMicrochipid = this.microchipid; this.microchipid = microchipid; changeSupport.firePropertyChange("microchipid", oldMicrochipid, microchipid); } public String getFoodbrand() { return foodbrand; } public void setFoodbrand(String foodbrand) { String oldFoodbrand = this.foodbrand; this.foodbrand = foodbrand; changeSupport.firePropertyChange("foodbrand", oldFoodbrand, foodbrand); } public String getPortionsize() { return portionsize; } public void setPortionsize(String portionsize) { String oldPortionsize = this.portionsize; this.portionsize = portionsize; changeSupport.firePropertyChange("portionsize", oldPortionsize, portionsize); } public Integer getServingtimes() { return servingtimes; } public void setServingtimes(Integer servingtimes) { Integer oldServingtimes = this.servingtimes; this.servingtimes = servingtimes; changeSupport.firePropertyChange("servingtimes", oldServingtimes, servingtimes); } public String getSnacks() { return snacks; } public void setSnacks(String snacks) { String oldSnacks = this.snacks; this.snacks = snacks; changeSupport.firePropertyChange("snacks", oldSnacks, snacks); } public String getDietaryexclusions() { return dietaryexclusions; } public void setDietaryexclusions(String dietaryexclusions) { String oldDietaryexclusions = this.dietaryexclusions; this.dietaryexclusions = dietaryexclusions; changeSupport.firePropertyChange("dietaryexclusions", oldDietaryexclusions, dietaryexclusions); } public String getFilefolder() { return filefolder; } public void setFilefolder(String filefolder) { String oldFilefolder = this.filefolder; this.filefolder = filefolder; changeSupport.firePropertyChange("filefolder", oldFilefolder, filefolder); } public String getPicfilename() { return picfilename; } public void setPicfilename(String picfilename) { String oldPicfilename = this.picfilename; this.picfilename = picfilename; changeSupport.firePropertyChange("picfilename", oldPicfilename, picfilename); } public String getPettype() { return pettype; } public void setPettype(String pettype) { String oldPettype = this.pettype; this.pettype = pettype; changeSupport.firePropertyChange("pettype", oldPettype, pettype); } @Override public int hashCode() { int hash = 0; hash += (id != null ? id.hashCode() : 0); return hash; } @Override public boolean equals(Object object) { // TODO: Warning - this method won't work in the case the id fields are not set if (!(object instanceof Pet)) { return false; } Pet other = (Pet) object; if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) { return false; } return true; } @Override public String toString() { return "personalpetvet.Pet[id=" + id + "]"; } public void addPropertyChangeListener(PropertyChangeListener listener) { changeSupport.addPropertyChangeListener(listener); } public void removePropertyChangeListener(PropertyChangeListener listener) { changeSupport.addPropertyChangeListener(listener); } public Collection<Expense> getExpenseCollection() { return expenseCollection; } public void setExpenseCollection(Collection<Expense> expenseCollection) { Collection<Expense> old = this.expenseCollection; this.expenseCollection = expenseCollection; changeSupport.firePropertyChange("expenseCollection", old, expenseCollection); } public Collection<Generalhealthnote> getGeneralhealthnoteCollection() { return generalhealthnoteCollection; } public void setGeneralhealthnoteCollection(Collection<Generalhealthnote> generalhealthnoteCollection) { this.generalhealthnoteCollection = generalhealthnoteCollection; } public Collection<Medication> getMedicationCollection() { return medicationCollection; } public void setMedicationCollection(Collection<Medication> medicationCollection) { this.medicationCollection = medicationCollection; } public Collection<Vaccination> getVaccinationCollection() { return vaccinationCollection; } public void setVaccinationCollection(Collection<Vaccination> vaccinationCollection) { this.vaccinationCollection = vaccinationCollection; } public Collection<Vetvisit> getVetvisitCollection() {// if (vetvisitCollection == null) {// vetvisitCollection = new ArrayList<Vetvisit>();// setVetvisitCollection(vetvisitCollection);// } return vetvisitCollection; } public void setVetvisitCollection(Collection<Vetvisit> vetvisitCollection) { this.vetvisitCollection = vetvisitCollection; }// public Collection<MedicalPicture> getMedicalPictureCollection() {// return medicalPictureCollection;// }//// public void setMedicalPictureCollection(Collection<MedicalPicture> pictureCollection) {// this.medicalPictureCollection = pictureCollection;// // } public Collection<Picture> getPictureCollection() { return pictureCollection; } public void setPictureCollection(Collection<Picture> pictureCollection) { this.pictureCollection = pictureCollection; } public Collection<Appointment> getAppointmentCollection() { return appointmentCollection; } public void setAppointmentCollection(Collection<Appointment> appointmentCollection) { this.appointmentCollection = appointmentCollection; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -