com.alibaba.ocean.rawsdk.example.param.ExampleFamily Maven / Gradle / Ivy
The newest version!
package com.alibaba.ocean.rawsdk.example.param;
import java.util.Arrays;
public class ExampleFamily {
private Integer familyNumber;
public Integer getFamilyNumber() {
return familyNumber;
}
public void setFamilyNumber(Integer familyNumber) {
this.familyNumber = familyNumber;
}
private ExamplePerson father;
public ExamplePerson getFather() {
return father;
}
public void setFather(ExamplePerson father) {
this.father = father;
}
private ExamplePerson mother;
public ExamplePerson getMother() {
return mother;
}
public void setMother(ExamplePerson mother) {
this.mother = mother;
}
private ExamplePerson[] children;
public ExamplePerson[] getChildren() {
return children;
}
public void setChildren(ExamplePerson[] children) {
this.children = children;
}
private ExampleCar[] ownedCars;
public ExampleCar[] getOwnedCars() {
return ownedCars;
}
public void setOwnedCars(ExampleCar[] ownedCars) {
this.ownedCars = ownedCars;
}
private ExampleHouse myHouse;
public ExampleHouse getMyHouse() {
return myHouse;
}
public void setMyHouse(ExampleHouse myHouse) {
this.myHouse = myHouse;
}
@Override
public String toString() {
return "ExampleFamily [familyNumber=" + familyNumber + ", father=" + father + ", mother=" + mother + ", children=" + Arrays.toString(children)
+ ", ownedCars=" + Arrays.toString(ownedCars) + ", myHouse=" + myHouse + "]";
}
}