/** * @param id * @param closedIssues * @param createDate * @param creator * @param description * @param dueDate * @param number * @param openedIssues * @param state * @param title */ public MilestoneDB( int id, int closedIssues, Date createDate, String creator, String description, Date dueDate, int number, int openedIssues, StatusType status, String title) { super(); this.id = id; this.closedIssues = closedIssues; this.createDate = createDate; this.creator = creator; this.description = description; this.dueDate = dueDate; this.number = number; this.openedIssues = openedIssues; this.status = status != null ? status.getId() : 0; this.title = title; }
/** @param status the status to set */ public void setStatus(StatusType status) { this.status = status != null ? status.getId() : 0; }