12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- /*
- * 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<Erro> erroCache;
- private ArrayList<Erro> erroRed;
-
- public Erros(ArrayList<Erro> erroCache,ArrayList<Erro> erroRed){
- this.erroCache = erroCache;
- this.erroRed = erroRed;
- }
-
- public ArrayList<Erro> getErroCache() {
- return erroCache;
- }
- public void setErroCache(ArrayList<Erro> erroCache) {
- this.erroCache = erroCache;
- }
- public ArrayList<Erro> getErroRed() {
- return erroRed;
- }
- public void setErroRed(ArrayList<Erro> 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.
- }
-
-
-
-
- }
|