Skip to content

Instantly share code, notes, and snippets.

@mgenov
Created March 12, 2012 14:54
Show Gist options
  • Save mgenov/2022453 to your computer and use it in GitHub Desktop.
Save mgenov/2022453 to your computer and use it in GitHub Desktop.
public interface Child1 extends ValueProxy {
String getValue();
void setValue(String value);
Long getId();
void setId(Long id);
}
public interface Child2 extends ValueProxy {
DeviceTypeProxy getType();
void setType(DeviceTypeProxy type);
void setMinCount(Integer minCount);
Integer getMinCount();
void setMaxCount(Integer maxCount);
Integer getMaxCount();
MoneyProxy getRent();
void setRent(MoneyProxy rent);
}
public interface MyMainValueProxy extends ValueProxy {
public Long getId();
public String getName();
void setName(String name);
List<Child1> getTypes();
MoneyProxy getMonthlyTax();
List<Child2> getChild2();
void setChild2(List<Child2> deviceTypeSpecifications);
Boolean isNegotiableMonthTax();
void setNegotiableMonthTax(Boolean isNegotiableMonthTax);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment