use of org.asqatasun.entity.option.OptionImpl in project Asqatasun by Asqatasun.
the class OptionFactory method createOption.
public Option createOption(OptionFamilyImpl optionFamily, String code, String label, String description, boolean isRestriction) {
OptionImpl option = new OptionImpl();
option.setCode(code);
option.setDescription(description);
option.setLabel(label);
option.setOptionFamily(optionFamily);
option.setIsRestriction(isRestriction);
return option;
}
use of org.asqatasun.entity.option.OptionImpl in project Asqatasun by Asqatasun.
the class AuditSetUpControllerTest method getOptionElementSet.
private Set<OptionElementImpl> getOptionElementSet() {
OptionElementImpl oe = new OptionElementImpl();
OptionImpl option = new OptionImpl();
option.setCode("");
oe.setOption(option);
return Collections.singleton(oe);
}
Aggregations