/* -*- tab-width: 4 -*-
*
* Electric(tm) VLSI Design System
*
* File: ExportAssertionFailures.java
*
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
*
* Electric(tm) is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* Electric(tm) is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
package com.sun.electric.tool.user.ncc;

import java.io.Serializable;

import com.sun.electric.database.hierarchy.Cell;
import com.sun.electric.database.variable.VarContext;

/**
 * Each object of this class holds one Export Assertion Failure
 */
public class ExportAssertionFailures implements Serializable {
	static final long serialVersionUID = 0;

    /** Cell    */  private Cell cell;
    /** Context */  private VarContext context;
    
    /** Array of Export and/or Network objects  */  private Object[][] items;
    /** Names corresponding to objects in items */  private String[][] names;  
    
    public ExportAssertionFailures(Cell cell, VarContext context,
                                   Object[][] items, String[][] names) {
        this.cell = cell;
        this.context = context;
        this.items = items;
        this.names = names;
    }
    
    public Cell       getCell()           { return cell; }
    public VarContext getContext()        { return context; }
    public Object[][] getExportsGlobals() { return items; }
    public String[][] getNames()          { return names; }
}
