com.na.jira.api.WorkLogDto Maven / Gradle / Ivy
/**
*
*/
package com.na.jira.api;
import java.util.Date;
/**
* DTO for sending data about comments from JIRA to the mapper application.
*
* @author marian
*
*/
public class WorkLogDto extends LongDescDto {
/** No args constructor */
public WorkLogDto() {
super();
}
/** All args constructor */
public WorkLogDto(Long work, String who, Date when) {
this.workTime = work;
this.who = who;
this.when = when;
}
public Long workTime;
@Override
public boolean equalTo(String who, Date when, String text, Long work) {
if (work == null) {
work = new Long(0);
}
long tmp = workTime != null ? workTime : 0L;
return super.equalTo(who, when, text, work) && work == tmp;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy