1 29 30 package com.caucho.amber.cfg; 31 32 import java.util.ArrayList ; 33 34 35 38 abstract public class AbstractTableConfig { 39 40 private String _name; 42 private String _catalog; 43 private String _schema; 44 45 private ArrayList <UniqueConstraintConfig> _uniqueConstraintList 47 = new ArrayList <UniqueConstraintConfig>(); 48 49 public String getName() 50 { 51 return _name; 52 } 53 54 public void setName(String name) 55 { 56 _name = name; 57 } 58 59 public String getCatalog() 60 { 61 return _catalog; 62 } 63 64 public void setCatalog(String catalog) 65 { 66 _catalog = catalog; 67 } 68 69 public String getSchema() 70 { 71 return _schema; 72 } 73 74 public void setSchema(String schema) 75 { 76 _schema = schema; 77 } 78 79 public void addUniqueConstraint(UniqueConstraintConfig uniqueConstraint) 80 { 81 _uniqueConstraintList.add(uniqueConstraint); 82 } 83 84 public ArrayList <UniqueConstraintConfig> getUniqueConstraintList() 85 { 86 return _uniqueConstraintList; 87 } 88 } 89 | Popular Tags |