Search in sources :

Example 1 with ParameterFamilyImpl

use of org.asqatasun.entity.parameterization.ParameterFamilyImpl 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)1 ParameterElement (org.asqatasun.entity.parameterization.ParameterElement)1 ParameterElementImpl (org.asqatasun.entity.parameterization.ParameterElementImpl)1 ParameterFamily (org.asqatasun.entity.parameterization.ParameterFamily)1 ParameterFamilyImpl (org.asqatasun.entity.parameterization.ParameterFamilyImpl)1 ParameterImpl (org.asqatasun.entity.parameterization.ParameterImpl)1