1 29 30 package com.caucho.amber.cfg; 31 32 import javax.persistence.TemporalType; 33 34 35 38 public class VersionConfig { 39 40 private String _name; 42 43 private ColumnConfig _column; 45 private TemporalType _temporal; 46 47 48 51 public String getName() 52 { 53 return _name; 54 } 55 56 59 public void setName(String name) 60 { 61 _name = name; 62 } 63 64 67 public ColumnConfig getColumn() 68 { 69 return _column; 70 } 71 72 75 public void setColumn(ColumnConfig column) 76 { 77 _column = column; 78 } 79 80 83 public TemporalType getTemporal() 84 { 85 return _temporal; 86 } 87 88 91 public void setTemporal(String temporal) 92 { 93 _temporal = TemporalType.valueOf(temporal); 94 } 95 } 96 | Popular Tags |