1 29 30 package com.caucho.amber.cfg; 31 32 import java.util.ArrayList ; 33 34 37 public class EntityResultConfig { 38 39 private String _entityClass; 41 private String _discriminatorColumn; 42 43 private ArrayList <FieldResultConfig> _fieldResults 45 = new ArrayList <FieldResultConfig>(); 46 47 public String getEntityClass() 48 { 49 return _entityClass; 50 } 51 52 public void setEntityClass(String entityClass) 53 { 54 _entityClass = entityClass; 55 } 56 57 public String getDiscriminatorColumn() 58 { 59 return _discriminatorColumn; 60 } 61 62 public void setDiscriminatorColumn(String discriminatorColumn) 63 { 64 _discriminatorColumn = discriminatorColumn; 65 } 66 67 70 public void addFieldResult(FieldResultConfig fieldResult) 71 { 72 _fieldResults.add(fieldResult); 73 } 74 75 78 public ArrayList <FieldResultConfig> getFieldResults() 79 { 80 return _fieldResults; 81 } 82 } 83 | Popular Tags |