Search in sources :

Example 1 with FluxLocationCatchTypeEnum

use of eu.europa.ec.fisheries.ers.fa.utils.FluxLocationCatchTypeEnum in project UVMS-ActivityModule-APP by UnionVMS.

the class FluxLocationMapperTest method getFluxLocationEntityMock.

private FluxLocationEntity getFluxLocationEntityMock() {
    FLUXLocation fluxLocation = MapperUtil.getFluxLocation();
    FluxLocationCatchTypeEnum fluxLocationTypeEnum = FluxLocationCatchTypeEnum.FA_CATCH_SPECIFIED;
    FluxLocationEntity fluxLocationEntity = FluxLocationMapper.INSTANCE.mapToFluxLocationEntity(fluxLocation);
    fluxLocationEntity.setFluxLocationType(fluxLocationTypeEnum.getType());
    return fluxLocationEntity;
}
Also used : FLUXLocation(un.unece.uncefact.data.standard.reusableaggregatebusinessinformationentity._20.FLUXLocation) FluxLocationCatchTypeEnum(eu.europa.ec.fisheries.ers.fa.utils.FluxLocationCatchTypeEnum) FluxLocationEntity(eu.europa.ec.fisheries.ers.fa.entities.FluxLocationEntity)

Aggregations

FluxLocationEntity (eu.europa.ec.fisheries.ers.fa.entities.FluxLocationEntity)1 FluxLocationCatchTypeEnum (eu.europa.ec.fisheries.ers.fa.utils.FluxLocationCatchTypeEnum)1 FLUXLocation (un.unece.uncefact.data.standard.reusableaggregatebusinessinformationentity._20.FLUXLocation)1