All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.catools.common.facker.provider.CFakerCountryProvider Maven / Gradle / Ivy

There is a newer version: 0.1.25
Show newest version
package org.catools.common.facker.provider;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.experimental.Accessors;
import org.catools.common.facker.model.CRandomCountry;

@Data
@AllArgsConstructor
@Accessors(chain = true)
public class CFakerCountryProvider {
    private final CRandomCountry country;
    private final CFakerStateProviders stateProviders;
    private final CFakerNameProvider nameProvider;
    private final CFakerCompanyProvider companyProvider;
    private final CFakerAddressProvider addressProvider;

    public CFakerCountryProvider(CRandomCountry country,
                                 CFakerStateProviders stateProviders,
                                 CFakerNameProvider personNameProvider,
                                 CFakerCompanyProvider companyProvider,
                                 CFakerStreetAddressProvider streetAddressProvider) {
        this.country = country;
        this.stateProviders = stateProviders;
        this.nameProvider = personNameProvider;
        this.companyProvider = companyProvider;
        this.addressProvider = new CFakerAddressProvider(this, streetAddressProvider);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy