com.netgrif.application.engine.workflow.domain.TaskPair Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of application-engine Show documentation
Show all versions of application-engine Show documentation
System provides workflow management functions including user, role and data management.
package com.netgrif.application.engine.workflow.domain;
import lombok.Data;
@Data
public class TaskPair {
/**
* ObjectId
*/
private String task;
/**
* Import Id
*/
private String transition;
public TaskPair() {
}
public TaskPair(String task, String transition) {
this.task = task;
this.transition = transition;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
if (!super.equals(o)) return false;
TaskPair taskPair = (TaskPair) o;
return transition.equals(taskPair.transition);
}
@Override
public int hashCode() {
int result = super.hashCode();
result = 31 * result + transition.hashCode();
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy