com.kenshoo.pl.simulation.internal.ActualError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of persistence-layer Show documentation
Show all versions of persistence-layer Show documentation
A Java persistence layer based on JOOQ for high performance and business flow support.
package com.kenshoo.pl.simulation.internal;
import com.kenshoo.pl.entity.EntityField;
public class ActualError implements ActualResult {
final String description;
public ActualError(String description) {
this.description = description;
}
@Override public boolean isSuccess() {
return false;
}
@Override public boolean isReallyChanged(EntityField, ?> field) {
return false;
}
@Override public Object getFinalValue(EntityField, ?> field) {
return null;
}
@Override
public String getErrorDescription() {
return description;
}
}