View Javadoc

1   package org.kuali.ole.catalog.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       * @return  Returns the countryCodeId
25       */
26      public Integer getCountryCodeId() {
27          return countryCodeId;
28      }
29  
30      /**
31       * Sets the countryCodeId attribute value.
32       * @param countryCodeId The countryCodeId to set.
33       */
34      public void setCountryCodeId(Integer countryCodeId) {
35          this.countryCodeId = countryCodeId;
36      }
37  
38      /**
39       *  Gets the countryCode attribute.
40       * @return  Returns the countryCode
41       */
42      public String getCountryCode() {
43          return countryCode;
44      }
45  
46      /**
47       * Sets the countryCode attribute value.
48       * @param countryCode The countryCode to set.
49       */
50      public void setCountryCode(String countryCode) {
51          this.countryCode = countryCode;
52      }
53  
54      /**
55       *  Gets the countryName attribute.
56       * @return  Returns the countryName
57       */
58      public String getCountryName() {
59          return countryName;
60      }
61  
62      /**
63       * Sets the countryName attribute value.
64       * @param countryName The countryName to set.
65       */
66      public void setCountryName(String countryName) {
67          this.countryName = countryName;
68      }
69  
70      /**
71       *  Gets the countryRegionName attribute.
72       * @return  Returns the countryRegionName
73       */
74      public String getCountryRegionName() {
75          return countryRegionName;
76      }
77  
78      /**
79       * Sets the countryRegionName attribute value.
80       * @param countryRegionName The countryRegionName to set.
81       */
82      public void setCountryRegionName(String countryRegionName) {
83          this.countryRegionName = countryRegionName;
84      }
85  
86      /**
87       *  Gets the countryNameSequence attribute.
88       * @return  Returns the countryNameSequence
89       */
90      public String getCountryNameSequence() {
91          return countryNameSequence;
92      }
93  
94      /**
95       * Sets the countryNameSequence attribute value.
96       * @param countryNameSequence The countryNameSequence to set.
97       */
98      public void setCountryNameSequence(String countryNameSequence) {
99          this.countryNameSequence = countryNameSequence;
100     }
101 
102     /**
103      *  Gets the source attribute.
104      * @return  Returns the source
105      */
106     public String getSource() {
107         return source;
108     }
109 
110     /**
111      * Sets the source attribute value.
112      * @param source The source to set.
113      */
114     public void setSource(String source) {
115         this.source = source;
116     }
117 
118     /**
119      *  Gets the sourceDate attribute.
120      * @return  Returns the sourceDate
121      */
122     public Date getSourceDate() {
123         return sourceDate;
124     }
125 
126     /**
127      * Sets the sourceDate attribute value.
128      * @param sourceDate The sourceDate to set.
129      */
130     public void setSourceDate(Date sourceDate) {
131         this.sourceDate = sourceDate;
132     }
133 
134     /**
135      *  Gets the active attribute.
136      * @return  Returns the active
137      */
138     public boolean isActive() {
139         return active;
140     }
141 
142     /**
143      * Sets the active attribute value.
144      * @param active The active to set.
145      */
146     public void setActive(boolean active) {
147         this.active = active;
148     }
149 
150     /**
151      *  Gets the toStringMap attribute.
152      * @return  Returns the toStringMap
153      */
154     protected LinkedHashMap toStringMapper() {
155         LinkedHashMap toStringMap = new LinkedHashMap();
156         toStringMap.put("countryCodeId", countryCodeId);
157         return toStringMap;
158     }
159 }