001package com.thed.model;
002
003
004import java.util.Date;
005
006public class Defect  implements java.io.Serializable {
007
008    /**
009         * 
010         */
011        private static final long serialVersionUID = 1391960295591196394L;
012
013    private long defectId;
014    private String description;
015    private Date createdDate;
016    private String defectStatus;
017    private String priority;
018    private String severity;
019    
020    public long getDefectId() {
021                return defectId;
022        }
023
024        public void setDefectId(long defectId) {
025                this.defectId = defectId;
026        }
027
028    public Defect(String description, Date createdDate, String status, String priority, String severity) {
029       this.description = description;
030       this.createdDate = createdDate;
031       this.priority = priority;
032       this.severity = severity;
033    }
034    
035    public String getDescription() {
036        return this.description;
037    }
038    
039    public void setDescription(String description) {
040        this.description = description;
041    }
042    public Date getCreatedDate() {
043        return this.createdDate;
044    }
045    
046    public void setCreatedDate(Date createdDate) {
047        this.createdDate = createdDate;
048    }
049    public String getPriority() {
050        return this.priority;
051    }
052    
053    public void setPriority(String priority) {
054        this.priority = priority;
055    }
056    public String getSeverity() {
057        return this.severity;
058    }
059    
060    public void setSeverity(String severity) {
061        this.severity = severity;
062    }
063    
064}
065
066