Search in sources :

Example 1 with ParameterElementImpl

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;
}
Also used : ParameterElement(org.asqatasun.entity.parameterization.ParameterElement) ParameterElementImpl(org.asqatasun.entity.parameterization.ParameterElementImpl)

Example 2 with ParameterElementImpl

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;
}
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

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