/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package fr.gouv.finances.cp.xemelios.plugin.generatorPesPjs;

import fr.gouv.finances.dgfip.utils.Pair;

/**
 *
 * @author jp.tessier
 */
public class RefCompta {
    private String domaine,codeProduit,idTiers,numPiece,numLignePiece;
    private Pair typePiece;
    private Integer exercice;
    
    public RefCompta (String dom,Integer exer,Pair typepce,String numpce,String numlignepce,String codprod,String idtiers){
        domaine=dom;
        exercice=exer;
        typePiece=typepce;
        numPiece=numpce;
        numLignePiece=numlignepce;
        codeProduit=codprod;
        idTiers=idtiers;
    }

    public String getDomaine() {
        return domaine;
    }

    public Pair getTypePiece() {
        return typePiece;
    }

    public String getCodeProduit() {
        return codeProduit;
    }

    public String getIdTiers() {
        return idTiers;
    }

    public Integer getExercice() {
        return exercice;
    }

    public String getNumPiece() {
        return numPiece;
    }

    public String getNumLignePiece() {
        return numLignePiece;
    }
    
    public void modifRefCompta(String dom,Integer exer,Pair typepce,String numpce,String numlignepce,String codprod,String idtiers){
        domaine=dom;
        exercice=exer;
        typePiece=typepce;
        numPiece=numpce;
        numLignePiece=numlignepce;
        codeProduit=codprod;
        idTiers=idtiers;
    }
}
