org.uqbar.arena.tests.nestedProperties.NestedPropertiesModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of arena-examples Show documentation
Show all versions of arena-examples Show documentation
Ejemplos básicos y tests del framework Arena
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