@Transient
    public RequirementSummary getSummary()
    {
        RequirementSummary summary = new RequirementSummary();
        for(Reference ref : references)
        {
            if(ref.getLastExecution() != null)
            {
                summary.addErrors(ref.getLastExecution().getErrors());
                summary.addException(ref.getLastExecution().hasException());
                summary.addFailures(ref.getLastExecution().getFailures());
                summary.addSuccess(ref.getLastExecution().getSuccess());
                summary.addErrors(ref.getLastExecution().getErrors());
            }
        }
        
        summary.setReferencesSize(references.size());
        return summary;
    }
@ Transient public RequirementSummary getSummary ( ) { RequirementSummary summary = new RequirementSummary ( ) ; for ( Reference ref : references ) { if ( ref . getLastExecution ( ) != null ) { summary . addErrors ( ref . getLastExecution ( ) . getErrors ( ) ) ; summary . addException ( ref . getLastExecution ( ) . hasException ( ) ) ; summary . addFailures ( ref . getLastExecution ( ) . getFailures ( ) ) ; summary . addSuccess ( ref . getLastExecution ( ) . getSuccess ( ) ) ; summary . addErrors ( ref . getLastExecution ( ) . getErrors ( ) ) ; } } summary . setReferencesSize ( references . size ( ) ) ; return summary ; }
<p>getSummary.</p>

@return a {@link com.greenpepper.server.domain.RequirementSummary} object.