1    package com.instantbank.component.lettertemplate.util;
2    
3    
4    /**
5     * Java Bean containing raw Company Location information
6     *
7     * @author InstantBank (Rodrigo Lopez)
8     */
9    public class CompanyLocation {
10   
11     /**
12      * Id number for this location.
13      */
14     private long locationId;
15   
16     private long cadId;
17   
18     /**
19      * Path where files are stored in the {@link #ipAddress} site.
20      */
21     private String path;
22   
23     private String name;
24   
25     /**
26      * Ip adress bound to this location
27      */
28     private String ipAddress;
29   
30     /**
31      * Ftp Login name
32      */
33     private String user;
34   
35     /**
36      * Ftp password
37      */
38     private String password;
39   
40   
41     public CompanyLocation() { }
42   
43   
44     public void setLocationId(long locationId) {
45       this.locationId = locationId;
46     }
47   
48   
49     public void setCadId(long cadId) {
50       this.cadId = cadId;
51     }
52   
53   
54     public void setPath(String path) {
55       this.path = path;
56     }
57   
58   
59     public void setName(String name) {
60       this.name = name;
61     }
62   
63   
64     public void setIpAddress(String ipAddress) {
65       this.ipAddress = ipAddress;
66     }
67   
68   
69     public void setUser(String user) {
70       this.user = user;
71     }
72   
73   
74     public void setPassword(String password) {
75       this.password = password;
76     }
77   
78   
79     public long getLocationId() {
80       return (this.locationId);
81     }
82   
83   
84     public long getCadId() {
85       return (this.cadId);
86     }
87   
88   
89     public String getPath() {
90       return (this.path);
91     }
92   
93   
94     public String getName() {
95       return (this.name);
96     }
97   
98   
99     public String getIpAddress() {
100      return (this.ipAddress);
101    }
102  
103  
104    public String getUser() {
105      return (this.user);
106    }
107  
108  
109    public String getPassword() {
110      return (this.password);
111    }
112  }
113