1 /* 2 * HibernateMap.java 3 * 4 * Created on June 15, 2005, 1:06 PM 5 * 6 * To change this template, choose Tools | Options and locate the template under 7 * the Source Creation and Management node. Right-click the template and choose 8 * Open. You can then make changes to the template in the Source Editor. 9 */ 10 11 package gov.bnl.gums.db; 12 13 /** 14 * 15 * @author Gabriele Carcassi, Jay Packard 16 */ 17 public class HibernateMapping { 18 private Long id; 19 private String dn; 20 private String account; 21 private String map; 22 23 /** 24 * Creates a new instance of Mapping 25 */ 26 public HibernateMapping() { 27 } 28 29 /** 30 * Getter for property account. 31 * @return Value of property account. 32 */ 33 public String getAccount() { 34 35 return this.account; 36 } 37 38 /** 39 * Getter for property dn. 40 * @return Value of property dn. 41 */ 42 public String getDn() { 43 44 return this.dn; 45 } 46 47 /** 48 * Getter for property id. 49 * @return Value of property id. 50 */ 51 public Long getId() { 52 53 return this.id; 54 } 55 56 /** 57 * Getter for property group. 58 * @return Value of property group. 59 */ 60 public String getMap() { 61 62 return this.map; 63 } 64 65 /** 66 * Setter for property account. 67 * @param account New value of property account. 68 */ 69 public void setAccount(String account) { 70 71 this.account = account; 72 } 73 74 /** 75 * Setter for property dn. 76 * @param dn New value of property dn. 77 */ 78 public void setDn(String dn) { 79 80 this.dn = dn; 81 } 82 83 /** 84 * Setter for property id. 85 * @param id New value of property id. 86 */ 87 public void setId(Long id) { 88 89 this.id = id; 90 } 91 92 /** 93 * Setter for property group. 94 * @param userGroup New value of property group. 95 */ 96 public void setMap(String map) { 97 98 this.map = map; 99 } 100 101 102 }