1 29 30 package com.caucho.amber.cfg; 31 32 import java.util.ArrayList ; 33 34 37 public class SqlResultSetMappingConfig { 38 39 private String _name; 41 42 private ArrayList <EntityResultConfig> _entityResults 44 = new ArrayList <EntityResultConfig>(); 45 46 private ArrayList <ColumnResultConfig> _columnResults 47 = new ArrayList <ColumnResultConfig>(); 48 49 public String getName() 50 { 51 return _name; 52 } 53 54 57 public void addEntityResult(EntityResultConfig entityResult) 58 { 59 _entityResults.add(entityResult); 60 } 61 62 65 public ArrayList <EntityResultConfig> getEntityResults() 66 { 67 return _entityResults; 68 } 69 70 73 public void addColumnResult(ColumnResultConfig columnResult) 74 { 75 _columnResults.add(columnResult); 76 } 77 78 81 public ArrayList <ColumnResultConfig> getColumnResults() 82 { 83 return _columnResults; 84 } 85 86 public void setName(String name) 87 { 88 _name = name; 89 } 90 } 91 | Popular Tags |