Class Bundle

java.lang.Object
com.datengaertnerei.test.dataservice.Bundle

public class Bundle extends Object
Container class to combine all elements of a fictitious person
  • Constructor Details

    • Bundle

      public Bundle()
  • Method Details

    • getPerson

      public Person getPerson()
      Returns:
      getter
    • setPerson

      public void setPerson(Person person)
      Parameters:
      person - setter
    • getMobile

      public PhoneNumber getMobile()
      Returns:
      getter
    • setMobile

      public void setMobile(PhoneNumber mobile)
      Parameters:
      mobile - setter
    • getLandline

      public PhoneNumber getLandline()
      Returns:
      getter
    • setLandline

      public void setLandline(PhoneNumber landline)
      Parameters:
      landline - setter
    • getCreditCard

      public CreditCard getCreditCard()
      Returns:
      getter
    • setCreditCard

      public void setCreditCard(CreditCard creditCard)
      Parameters:
      creditCard - setter
    • getBankAccount

      public BankAccount getBankAccount()
      Returns:
      getter
    • setBankAccount

      public void setBankAccount(BankAccount bankAccount)
      Parameters:
      bankAccount - setter