package bargainingchips.protocol; import bargainingchips.actions.Offer; public class ValidationResult { boolean valid; boolean hasEnded; Offer outcome; public ValidationResult() { valid = false; hasEnded = false; outcome = null; } public ValidationResult(boolean valid, boolean hasEnded, Offer outcome) { super(); this.valid = valid; this.hasEnded = hasEnded; this.outcome = outcome; } public boolean isValid() { return valid; } public boolean hasEnded() { return hasEnded; } public Offer getOutcome() { return outcome; } }