package org.ovirt.engine.core.common.queries;

import javax.validation.Valid;

import org.ovirt.engine.core.common.businessentities.Provider;

public class ProviderQueryParameters extends VdcQueryParametersBase {

    private static final long serialVersionUID = 308877238121233739L;

    @Valid
    private Provider provider;

    public ProviderQueryParameters() {
    }

    public ProviderQueryParameters(Provider provider) {
        this.provider = provider;
    }

    public Provider getProvider() {
        return provider;
    }

    public void setProvider(Provider provider) {
        this.provider = provider;
    }

}

package org.ovirt.engine.core.common.queries;

import javax.validation.Valid;

import org.ovirt.engine.core.common.businessentities.Provider;

public class ProviderQueryParameters extends VdcQueryParametersBase {

    private static final long serialVersionUID = 308877238121233739L;

    @Valid
    private Provider<?> provider;

    public ProviderQueryParameters() {
    }

    public ProviderQueryParameters(Provider<?> provider) {
        this.provider = provider;
    }

    public Provider<?> getProvider() {
        return provider;
    }

    public void setProvider(Provider<?> provider) {
        this.provider = provider;
    }

}

Set type to Provider in query parameters class
core: Set type to Provider in query parameters class

Change-Id: Ic7a1dee7182ca5697cb1728855ac9695b32cc1e9
Signed-off-by: Moti Asayag <da1debb83a8e12b6e8822edf2c275f55cc51b720@redhat.com>
