01: /*
02: * Copyright 2007 The Kuali Foundation
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.opensource.org/licenses/ecl1.php
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: *//**
16: *
17: */
18: package edu.sampleu.kim.bo;
19:
20: import java.util.LinkedHashMap;
21:
22: import org.kuali.core.bo.BusinessObjectBase;
23:
24: public class ApplicationSponsoredUserAttributeDefinition extends
25: BusinessObjectBase {
26:
27: private static final long serialVersionUID = -9056229917116128109L;
28: private Long id;
29: private Long applicationId;
30: private String attributeName;
31: private Long attributeTypeId;
32:
33: public Long getApplicationId() {
34: return applicationId;
35: }
36:
37: public void setApplicationId(Long applicationId) {
38: this .applicationId = applicationId;
39: }
40:
41: public String getAttributeName() {
42: return attributeName;
43: }
44:
45: public void setAttributeName(String attributeName) {
46: this .attributeName = attributeName;
47: }
48:
49: public Long getAttributeTypeId() {
50: return attributeTypeId;
51: }
52:
53: public void setAttributeTypeId(Long attributeTypeId) {
54: this .attributeTypeId = attributeTypeId;
55: }
56:
57: public Long getId() {
58: return id;
59: }
60:
61: public void setId(Long id) {
62: this .id = id;
63: }
64:
65: protected LinkedHashMap toStringMapper() {
66: LinkedHashMap<String, Object> propMap = new LinkedHashMap<String, Object>();
67: propMap.put("id", getId());
68: propMap.put("name", getApplicationId());
69: propMap.put("discription", getAttributeName());
70: propMap.put("permissions", getAttributeTypeId());
71: return propMap;
72: }
73:
74: public void refresh() {
75: }
76: }
|