use of org.asqatasun.entity.parameterization.ParameterElementImpl in project Asqatasun by Asqatasun.
the class ParameterElementFactoryImpl method createParameter.
@Override
public ParameterElement createParameter(ParameterFamily parameterFamily) {
ParameterElement parameterElement = new ParameterElementImpl();
parameterElement.setParameterFamily(parameterFamily);
return parameterElement;
}
use of org.asqatasun.entity.parameterization.ParameterElementImpl in project Asqatasun by Asqatasun.
the class ParameterDataServiceImplTest method getParameter.
private Parameter getParameter(String family, String element, String value) {
ParameterFamily pf = new ParameterFamilyImpl();
pf.setParameterFamilyCode(family);
//ELEMENT1
ParameterElement pe = new ParameterElementImpl();
pe.setParameterElementCode(element);
Parameter p = new ParameterImpl();
p.setParameterElement(pe);
p.setValue(value);
return p;
}
Aggregations