/*
 * DiffWrapper.java
 *
 * Created on May 25, 2006, 4:39 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package usda.weru.util.diff.table;

import usda.weru.util.diff.DiffNode;

/**
 *
 * @author Joseph Levin
 */
public class DiffWrapper {
    private final int c_diff;
    private final int c_diffRecursive;
    private final int c_index;
    /** Creates a new instance of DiffWrapper
	 * @param index
	 * @param node */
    public DiffWrapper(int index, DiffNode node) {
        c_index = index;
        c_diff = node.getDiff();
        c_diffRecursive = node.getDiffRecursive();
    }

	/**
	 *
	 * @return
	 */
	public int getDiff(){
        return c_diff;
    }

	/**
	 *
	 * @return
	 */
	public int getDiffRecursive(){
        return c_diffRecursive;
    }

	/**
	 *
	 * @return
	 */
	public int getIndex(){
        return c_index;
    }
    
}
