/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package cache; import java.util.ArrayList; /** * * @author Juninho Carlos */ public class Erros { private ArrayList erroCache; private ArrayList erroRed; public Erros(ArrayList erroCache,ArrayList erroRed){ this.erroCache = erroCache; this.erroRed = erroRed; } public ArrayList getErroCache() { return erroCache; } public void setErroCache(ArrayList erroCache) { this.erroCache = erroCache; } public ArrayList getErroRed() { return erroRed; } public void setErroRed(ArrayList erroRed) { this.erroRed = erroRed; } @Override public String toString() { String s = "cache: "+this.erroCache.toString(); if(this.erroRed != null) s += "\nred: "+ this.erroRed.toString(); return s; //To change body of generated methods, choose Tools | Templates. } }