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

org.uqbar.arena.tests.nestedProperties.NestedPropertiesModel Maven / Gradle / Ivy

The newest version!
package org.uqbar.arena.tests.nestedProperties;

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

import org.uqbar.commons.model.annotations.Observable;

@Observable
public class NestedPropertiesModel {
	private List list = new ArrayList();
	private Nested first;
	private String second;

	public Nested getFirst() {
		return first;
	}

	public void setFirst(Nested first) {
		this.first = first;
		this.second = this.first.getSecond();
	}

	public String getSecond() {
		return second;
	}

	public void setSecond(String second) {
		this.second = second;
		this.first.setSecond(second);
	}

	public List getList() {
		return list;
	}

	public void setList(List list) {
		this.list = list;
	}
}






© 2015 - 2024 Weber Informatics LLC | Privacy Policy