Bug 117965 [DataBinding] Change tests plugin to pre-req examples
This will allow the UI tests in examples to make use of the pojo model
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/scenarios/model/Adventure.java
private boolean petsAllowed;
	private double price;
	private Lodging defaultLodging;
	private String name;
	private String description;
	private String location;
	
	private int maxNumberOfPeople;
	public String getName() {
		return name;
	}
	public void setName(String string) {
		Object oldValue = name;
		name = string;
		firePropertyChange("name", oldValue, name);
	}
	
	public int getMaxNumberOfPeople(){
		return maxNumberOfPeople;
	}
	
	public void setMaxNumberOfPeople(int anInt) {
		int oldValue = maxNumberOfPeople;
		maxNumberOfPeople = anInt;
		firePropertyChange("maxNumberOfPeople", oldValue, maxNumberOfPeople);
	}
	
	public IValidator getMaxNumberOfPeopleValidator(Class fromType) {
		if (fromType.equals(String.class))
			return new IValidator() {