Skip to content

Instantly share code, notes, and snippets.

@sandromancuso
Created June 9, 2012 21:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sandromancuso/2902653 to your computer and use it in GitHub Desktop.
Save sandromancuso/2902653 to your computer and use it in GitHub Desktop.
package org.craftedsw.testingbuilders;
public class Trade {
private String inboundMessage;
private ReportabilityDecision reportabilityDecision;
public String getInboundMessage() {
return this.inboundMessage;
}
public void setInboundMessage(String inboundXmlMessage) {
this.inboundMessage = inboundXmlMessage;
}
public boolean isReportable() {
return reportabilityDecision.isReportable(inboundMessage);
}
public void setReportabilityDecision(ReportabilityDecision reportabilityDecision) {
this.reportabilityDecision = reportabilityDecision;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment