001 /* 002 * $Header$ 003 * $Revision: 2095 $ 004 * $Date: 2008-10-31 15:47:23 +0100 (Fri, 31 Oct 2008) $ 005 * 006 * Copyright Computer Science Innovations (CSI), 2003. All rights reserved. 007 */ 008 package org.springframework.rules.reporting; 009 010 import org.springframework.rules.constraint.Constraint; 011 import org.springframework.richclient.core.Severity; 012 013 /** 014 * @author Keith Donald 015 */ 016 public interface ValidationResults { 017 018 /** 019 * @return Returns the rejectedValue. 020 */ 021 public Object getRejectedValue(); 022 023 /** 024 * @return Returns the violatedConstraint. 025 */ 026 public Constraint getViolatedConstraint(); 027 028 /** 029 * @return Returns the violatedCount. 030 */ 031 public int getViolatedCount(); 032 033 /** 034 * @return Returns the severity. 035 */ 036 public Severity getSeverity(); 037 }