View Javadoc

1   /**
2    * Copyright 2010 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10   * software distributed under the License is distributed on an "AS IS"
11   * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12   * or implied. See the License for the specific language governing
13   * permissions and limitations under the License.
14   */
15  
16  package org.kuali.rice.student.bo;
17  
18  import java.util.LinkedHashMap;
19  
20  import org.kuali.rice.kim.api.KimConstants;
21  import org.kuali.rice.krad.bo.ExternalizableBusinessObject;
22  import org.kuali.rice.krad.bo.TransientBusinessObjectBase;
23  /**
24   * Data Dictionary entries for Kuali Student attributes needed by KIM
25   * 
26   */
27  public class KualiStudentKimAttributes implements ExternalizableBusinessObject {
28  
29  	private static final long serialVersionUID = 6969156403877595025L;
30  
31  	public static final String DOCUMENT_TYPE_NAME                   = KimConstants.AttributeConstants.DOCUMENT_TYPE_NAME;
32  
33  	public static final String QUALIFICATION_DEPARTMENT_ID          = "departmentId";
34  	public static final String QUALIFICATION_DIVISION_ID            = "divisionId";
35  	public static final String QUALIFICATION_COLLEGE_ID             = "collegeId";
36  	public static final String QUALIFICATION_ORG_ID                 = "orgId";
37  
38  	public static final String QUALIFICATION_DATA_ID                = "dataId";
39  	public static final String QUALIFICATION_CLU_ID                 = "cluId";
40  	public static final String QUALIFICATION_DTO_NAME               = "dtoName";
41  	public static final String QUALIFICATION_DTO_FIELD_KEY          = "dtoFieldKey";
42  	public static final String QUALIFICATION_FIELD_ACCESS_LEVEL     = "fieldAccessLevel";
43  	public static final String QUALIFICATION_SCREEN_COMPONENT       = "screenComponent";
44  	public static final String QUALIFICATION_SECTION_ID             = "sectionId";
45      public static final String DESCEND_HIERARCHY                    = "descendHierarchy";
46      public static final String KS_REFERENCE_TYPE_KEY                = "ksReferenceTypeKey";
47  
48  	protected String dataId;
49  	protected String org;
50  	protected String department;
51  	protected String college;
52  	protected String division;
53  
54  	protected String dtoName;
55  	protected String dtoFieldKey;
56  	protected String fieldAccessLevel;
57  	protected String screenComponent;
58  	protected String sectionId;
59      protected Boolean descendHierarchy;
60      protected String ksReferenceTypeKey;
61  
62  	/**
63       * @return the dataId
64       */
65      public String getDataId() {
66      	return dataId;
67      }
68  
69  	/**
70       * @param dataId the dataId to set
71       */
72      public void setDataId(String dataId) {
73      	this.dataId = dataId;
74      }
75  
76  	/**
77       * @return the org
78       */
79      public String getOrg() {
80      	return org;
81      }
82  
83  	/**
84       * @param org the org to set
85       */
86      public void setOrg(String org) {
87      	this.org = org;
88      }
89  
90  	/**
91       * @return the department
92       */
93      public String getDepartment() {
94      	return department;
95      }
96  
97  	/**
98       * @param department the department to set
99       */
100     public void setDepartment(String department) {
101     	this.department = department;
102     }
103 
104 	/**
105      * @return the college
106      */
107     public String getCollege() {
108     	return college;
109     }
110 
111 	/**
112      * @param college the college to set
113      */
114     public void setCollege(String college) {
115     	this.college = college;
116     }
117 
118 	/**
119      * @return the division
120      */
121     public String getDivision() {
122     	return division;
123     }
124 
125 	/**
126      * @param division the division to set
127      */
128     public void setDivision(String division) {
129     	this.division = division;
130     }
131 
132 	/**
133      * @return the dtoName
134      */
135     public String getDtoName() {
136     	return dtoName;
137     }
138 
139 	/**
140      * @param dtoName the dtoName to set
141      */
142     public void setDtoName(String dtoName) {
143     	this.dtoName = dtoName;
144     }
145 
146 	/**
147      * @return the dtoFieldKey
148      */
149     public String getDtoFieldKey() {
150     	return dtoFieldKey;
151     }
152 
153 	/**
154      * @param dtoFieldKey the dtoFieldKey to set
155      */
156     public void setDtoFieldKey(String dtoFieldKey) {
157     	this.dtoFieldKey = dtoFieldKey;
158     }
159 
160 	/**
161      * @return the fieldAccessLevel
162      */
163     public String getFieldAccessLevel() {
164     	return fieldAccessLevel;
165     }
166 
167 	/**
168      * @param fieldAccessLevel the fieldAccessLevel to set
169      */
170     public void setFieldAccessLevel(String fieldAccessLevel) {
171     	this.fieldAccessLevel = fieldAccessLevel;
172     }
173 
174 	/**
175      * @return the screenComponent
176      */
177     public String getScreenComponent() {
178     	return screenComponent;
179     }
180 
181 	/**
182      * @param screenComponent the screenComponent to set
183      */
184     public void setScreenComponent(String screenComponent) {
185     	this.screenComponent = screenComponent;
186     }
187 
188 	/**
189      * @return the sectionId
190      */
191     public String getSectionId() {
192     	return sectionId;
193     }
194 
195 	/**
196      * @param sectionId the sectionId to set
197      */
198     public void setSectionId(String sectionId) {
199     	this.sectionId = sectionId;
200     }
201 
202     /**
203      * Gets the descendHierarchy attribute.
204      * 
205      * @return Returns the descendHierarchy.
206      */
207     public Boolean isDescendHierarchy() {
208         return descendHierarchy;
209     }
210 
211     /**
212      * Sets the descendHierarchy attribute value.
213      * 
214      * @param descendHierarchy The descendHierarchy to set.
215      */
216     public void setDescendHierarchy(Boolean descendHierarchy) {
217         this.descendHierarchy = descendHierarchy;
218     }
219 
220     /**
221      * @return the ksReferenceTypeKey
222      */
223     public String getKsReferenceTypeKey() {
224         return ksReferenceTypeKey;
225     }
226 
227     /**
228      * @param ksReferenceTypeKey the ksReferenceTypeKey to set
229      */
230     public void setKsReferenceTypeKey(String ksReferenceTypeKey) {
231         this.ksReferenceTypeKey = ksReferenceTypeKey;
232     }
233 
234     @Override
235     public void refresh() {
236         //To change body of implemented methods use File | Settings | File Templates.
237     }
238 
239     @Override
240     public String toString() {
241         return "Fill Me Out";  //To change body of implemented methods use File | Settings | File Templates.
242     }
243 }