Prescription.java
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:2k
源码类别:
Java编程
开发平台:
Java
- package bible.ejb.message.prescription;
- import java.text.*;
- import java.util.*;
- /**
- * Insert the type's description here.
- * Creation date: (11/15/2000 4:34:09 PM)
- * @author: Administrator
- */
- public class Prescription {
- private int physicianId;
- private int patientId;
- private String note;
- private String drug;
- /**
- * Prescription constructor comment.
- */
- public Prescription() {
- }
- /**
- * @param physicianId
- * @SBGen Method set physicianId
- */
- public void setPhysicianId(int physicianId) {
- // SBgen: Assign variable
- this.physicianId = physicianId;
- }
- /**
- * @return
- * @SBGen Method get physicianId
- */
- public int getPhysicianId() {
- // SBgen: Get variable
- return(physicianId);
- }
- /**
- * @param patientId
- * @SBGen Method set patientId
- */
- public void setPatientId(int patientId) {
- // SBgen: Assign variable
- this.patientId = patientId;
- }
- /**
- * @return
- * @SBGen Method get patientId
- */
- public int getPatientId() {
- // SBgen: Get variable
- return(patientId);
- }
- /**
- * @param drug
- * @SBGen Method set drug
- */
- public void setDrug(String drug) {
- // SBgen: Assign variable
- this.drug = drug;
- }
- /**
- * @return
- * @SBGen Method get drug
- */
- public String getDrug() {
- // SBgen: Get variable
- return(drug);
- }
- /**
- * @param drug
- * @SBGen Method set drug
- */
- public void setNote(String note) {
- // SBgen: Assign variable
- this.note = note;
- }
- /**
- * @return
- * @SBGen Method get drug
- */
- public String getNote() {
- // SBgen: Get variable
- return(note);
- }
- }