1 22 package org.objectweb.petals.demo.mortgage.workflow.orchestration; 23 24 30 public class MortgageResponse { 31 32 private String firstName; 33 34 private String lastName; 35 36 private float mortgageRate; 37 38 public MortgageResponse() { 39 super(); 40 } 41 42 public MortgageResponse(String firstName, String lastName, 43 float mortgageRate) { 44 super(); 45 this.firstName = firstName; 46 this.lastName = lastName; 47 this.mortgageRate = mortgageRate; 48 } 49 50 public String getFirstName() { 51 return firstName; 52 } 53 54 public void setFirstName(String firstName) { 55 this.firstName = firstName; 56 } 57 58 public String getLastName() { 59 return lastName; 60 } 61 62 public void setLastName(String lastName) { 63 this.lastName = lastName; 64 } 65 66 public float getMortgageRate() { 67 return mortgageRate; 68 } 69 70 public void setMortgageRate(float mortgageRate) { 71 this.mortgageRate = mortgageRate; 72 } 73 74 78 @Override 79 public String toString() { 80 return firstName+"!!"+lastName+"!!"+mortgageRate; 81 } 82 83 84 85 } 86 | Popular Tags |