Search in sources :

Example 6 with ParameterImpl

use of org.asqatasun.entity.parameterization.ParameterImpl 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;
}
Also used : ParameterFamily(org.asqatasun.entity.parameterization.ParameterFamily) ParameterImpl(org.asqatasun.entity.parameterization.ParameterImpl) Parameter(org.asqatasun.entity.parameterization.Parameter) ParameterElement(org.asqatasun.entity.parameterization.ParameterElement) ParameterFamilyImpl(org.asqatasun.entity.parameterization.ParameterFamilyImpl) ParameterElementImpl(org.asqatasun.entity.parameterization.ParameterElementImpl)

Aggregations

Parameter (org.asqatasun.entity.parameterization.Parameter)6 ParameterImpl (org.asqatasun.entity.parameterization.ParameterImpl)6 ParameterElement (org.asqatasun.entity.parameterization.ParameterElement)3 ParameterElementImpl (org.asqatasun.entity.parameterization.ParameterElementImpl)3 ParameterFamily (org.asqatasun.entity.parameterization.ParameterFamily)1 ParameterFamilyImpl (org.asqatasun.entity.parameterization.ParameterFamilyImpl)1