All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fitlibraryGeneric.eg.rentEz.Client Maven / Gradle / Ivy

Go to download

FitLibrary provides general-purpose fixtures (and runners) for storytests with Fit and FitNesse.

The newest version!
package fitlibraryGeneric.eg.rentEz;

import java.util.ArrayList;
import java.util.List;

public class Client {
	private String name;
	private List rentals = new ArrayList();
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public List getRentals() {
		return rentals;
	}
	public void setRentals(List rentals) {
		this.rentals = rentals;
	}
	public void addRentals(List rentalItems) {
		for (@SuppressWarnings("unused") RentalItem item : rentalItems)
			rentals.add(new Rental());
	}
	@Override
	public String toString() {
		return "Client["+name+"]";
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy