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 AttributeType extends BusinessObjectBase {
25:
26: private static final long serialVersionUID = -3856630570406063764L;
27: private Long id;
28: private String attributeTypeName;
29:
30: public String getAttributeTypeName() {
31: return attributeTypeName;
32: }
33:
34: public void setAttributeTypeName(String attributeTypeName) {
35: this .attributeTypeName = attributeTypeName;
36: }
37:
38: public Long getId() {
39: return id;
40: }
41:
42: public void setId(Long id) {
43: this .id = id;
44: }
45:
46: protected LinkedHashMap toStringMapper() {
47: LinkedHashMap<String, Object> propMap = new LinkedHashMap<String, Object>();
48: propMap.put("id", getId());
49: propMap.put("attributeTypeName", getAttributeTypeName());
50: return propMap;
51: }
52:
53: public void refresh() {
54: // not doing this unless needed
55: }
56:
57: }
|