public double getRate(AnalyticModel model) {
		if(model==null) {
			throw new IllegalArgumentException("model==null");
		}

		ForwardCurve forwardCurve = model.getForwardCurve(forwardCurveName);
		if(forwardCurve==null) {
			throw new IllegalArgumentException("No forward curve of name '" + forwardCurveName + "' found in given model:\n" + model.toString());
		}

		double fixingDate = schedule.getFixing(0);
		return forwardCurve.getForward(model,fixingDate);
	}
public double getRate ( AnalyticModel model ) { if ( model == null ) { throw new IllegalArgumentException ( "model==null" ) ; } ForwardCurve forwardCurve = model . getForwardCurve ( forwardCurveName ) ; if ( forwardCurve == null ) { throw new IllegalArgumentException ( "No forward curve of name '" + forwardCurveName + "' found in given model:\n" + model . toString ( ) ) ; } double fixingDate = schedule . getFixing ( 0 ) ; return forwardCurve . getForward ( model , fixingDate ) ; }
Return the par FRA rate for a given curve.

@param model A given model.
@return The par FRA rate.