1 package org.apache.torque.map; 2 3 21 22 28 public class InheritanceMap 29 { 30 34 private String key; 35 36 39 private String className; 40 41 45 private String ancestor; 46 47 48 private ColumnMap column; 49 50 58 public InheritanceMap(ColumnMap column, String key, String className, 59 String ancestor) 60 { 61 setColumn(column); 62 setKey(key); 63 setClassName(className); 64 setExtends(ancestor); 65 } 66 67 74 public String getExtends() 75 { 76 return ancestor; 77 } 78 79 85 public void setExtends(String ancestor) 86 { 87 this.ancestor = ancestor; 88 } 89 90 95 public String getClassName() 96 { 97 return className; 98 } 99 100 105 public void setClassName(String className) 106 { 107 this.className = className; 108 } 109 110 115 public ColumnMap getColumn() 116 { 117 return column; 118 } 119 120 125 public void setColumn(ColumnMap column) 126 { 127 this.column = column; 128 } 129 130 135 public String getKey() 136 { 137 return key; 138 } 139 140 145 public void setKey(String key) 146 { 147 this.key = key; 148 } 149 } 150 | Popular Tags |