View Javadoc
1   package org.kuali.ole.describe.bo;
2   
3   
4   import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
5   
6   import java.sql.Date;
7   import java.util.LinkedHashMap;
8   
9   /**
10   * OleCountryCodes is business object class for Country Codes Maintenance Document
11   */
12  public class OleCountryCodes extends PersistableBusinessObjectBase {
13      private Integer countryCodeId;
14      private String countryCode;
15      private String countryName;
16      private String countryRegionName;
17      private String countryNameSequence;
18      private String source;
19      private Date sourceDate;
20      private boolean active;
21  
22      /**
23       * Gets the countryCodeId attribute.
24       *
25       * @return Returns the countryCodeId
26       */
27      public Integer getCountryCodeId() {
28          return countryCodeId;
29      }
30  
31      /**
32       * Sets the countryCodeId attribute value.
33       *
34       * @param countryCodeId The countryCodeId to set.
35       */
36      public void setCountryCodeId(Integer countryCodeId) {
37          this.countryCodeId = countryCodeId;
38      }
39  
40      /**
41       * Gets the countryCode attribute.
42       *
43       * @return Returns the countryCode
44       */
45      public String getCountryCode() {
46          return countryCode;
47      }
48  
49      /**
50       * Sets the countryCode attribute value.
51       *
52       * @param countryCode The countryCode to set.
53       */
54      public void setCountryCode(String countryCode) {
55          this.countryCode = countryCode;
56      }
57  
58      /**
59       * Gets the countryName attribute.
60       *
61       * @return Returns the countryName
62       */
63      public String getCountryName() {
64          return countryName;
65      }
66  
67      /**
68       * Sets the countryName attribute value.
69       *
70       * @param countryName The countryName to set.
71       */
72      public void setCountryName(String countryName) {
73          this.countryName = countryName;
74      }
75  
76      /**
77       * Gets the countryRegionName attribute.
78       *
79       * @return Returns the countryRegionName
80       */
81      public String getCountryRegionName() {
82          return countryRegionName;
83      }
84  
85      /**
86       * Sets the countryRegionName attribute value.
87       *
88       * @param countryRegionName The countryRegionName to set.
89       */
90      public void setCountryRegionName(String countryRegionName) {
91          this.countryRegionName = countryRegionName;
92      }
93  
94      /**
95       * Gets the countryNameSequence attribute.
96       *
97       * @return Returns the countryNameSequence
98       */
99      public String getCountryNameSequence() {
100         return countryNameSequence;
101     }
102 
103     /**
104      * Sets the countryNameSequence attribute value.
105      *
106      * @param countryNameSequence The countryNameSequence to set.
107      */
108     public void setCountryNameSequence(String countryNameSequence) {
109         this.countryNameSequence = countryNameSequence;
110     }
111 
112     /**
113      * Gets the source attribute.
114      *
115      * @return Returns the source
116      */
117     public String getSource() {
118         return source;
119     }
120 
121     /**
122      * Sets the source attribute value.
123      *
124      * @param source The source to set.
125      */
126     public void setSource(String source) {
127         this.source = source;
128     }
129 
130     /**
131      * Gets the sourceDate attribute.
132      *
133      * @return Returns the sourceDate
134      */
135     public Date getSourceDate() {
136         return sourceDate;
137     }
138 
139     /**
140      * Sets the sourceDate attribute value.
141      *
142      * @param sourceDate The sourceDate to set.
143      */
144     public void setSourceDate(Date sourceDate) {
145         this.sourceDate = sourceDate;
146     }
147 
148     /**
149      * Gets the active attribute.
150      *
151      * @return Returns the active
152      */
153     public boolean isActive() {
154         return active;
155     }
156 
157     /**
158      * Sets the active attribute value.
159      *
160      * @param active The active to set.
161      */
162     public void setActive(boolean active) {
163         this.active = active;
164     }
165 
166     /**
167      * Gets the toStringMap attribute.
168      *
169      * @return Returns the toStringMap
170      */
171     protected LinkedHashMap toStringMapper() {
172         LinkedHashMap toStringMap = new LinkedHashMap();
173         toStringMap.put("countryCodeId", countryCodeId);
174         return toStringMap;
175     }
176 }