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

com.fincatto.documentofiscal.mdfe3.transformers.MDFUnidadeMedidaPesoBrutoCargaTransformer Maven / Gradle / Ivy

There is a newer version: 4.0.75
Show newest version
package com.fincatto.documentofiscal.mdfe3.transformers;

import com.fincatto.documentofiscal.mdfe3.classes.def.MDFUnidadeMedidaPesoBrutoCarga;
import org.simpleframework.xml.transform.Transform;

/**
 * Created by Eldevan Nery Junior on 06/11/17.
 */
public class MDFUnidadeMedidaPesoBrutoCargaTransformer implements Transform {

    @Override
    public MDFUnidadeMedidaPesoBrutoCarga read(String value) {
        return MDFUnidadeMedidaPesoBrutoCarga.valueOfCodigo(value);
    }

    @Override
    public String write(MDFUnidadeMedidaPesoBrutoCarga value) {
        return value.getCodigo();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy