1 23 24 package org.dbforms.config; 25 26 27 33 public class ForeignKey { 34 35 private String displayType; 36 37 38 private String foreignTable; 39 40 41 private String format; 42 43 44 private String name; 45 46 47 private String visibleFields; 48 49 50 private java.util.Vector referencesVector; 51 52 53 private int id; 54 55 58 public ForeignKey() { 59 referencesVector = new java.util.Vector (); 60 } 61 62 67 public void setDisplayType(String displayType) { 68 this.displayType = displayType; 69 } 70 71 72 77 public String getDisplayType() { 78 return this.displayType; 79 } 80 81 82 87 public void setForeignTable(String foreignTable) { 88 this.foreignTable = foreignTable; 89 } 90 91 92 97 public String getForeignTable() { 98 return this.foreignTable; 99 } 100 101 102 107 public void setFormat(String format) { 108 this.format = format; 109 } 110 111 112 117 public String getFormat() { 118 return this.format; 119 } 120 121 122 127 public void setId(int id) { 128 this.id = id; 129 } 130 131 132 137 public int getId() { 138 return this.id; 139 } 140 141 142 147 public void setName(String name) { 148 this.name = name; 149 } 150 151 152 157 public String getName() { 158 return this.name; 159 } 160 161 162 167 public java.util.Vector getReferencesVector() { 168 return this.referencesVector; 169 } 170 171 172 177 public void setVisibleFields(String visibleFields) { 178 this.visibleFields = visibleFields; 179 } 180 181 182 187 public String getVisibleFields() { 188 return this.visibleFields; 189 } 190 191 192 197 public void addReference(Reference ref) { 198 referencesVector.add(ref); 199 } 200 } 201 | Popular Tags |