001: /*
002: * Copyright 2006-2007 The Kuali Foundation. Licensed under the Educational Community License, Version 1.0 (the "License");
003: * you may not use this file except in compliance with the License. You may obtain a copy of the License at
004: * http://www.opensource.org/licenses/ecl1.php Unless required by applicable law or agreed to in writing, software
005: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
006: * express or implied. See the License for the specific language governing permissions and limitations under the License.
007: */
008:
009: package org.kuali.core.bo;
010:
011: import java.util.LinkedHashMap;
012:
013: /**
014: *
015: */
016: public class Parameter extends PersistableBusinessObjectBase {
017:
018: private static final long serialVersionUID = 4874830226334867797L;
019:
020: private String parameterNamespaceCode;
021:
022: private String parameterName;
023:
024: private String parameterValue;
025:
026: private String parameterDescription;
027:
028: private String parameterTypeCode;
029:
030: private String parameterDetailTypeCode;
031:
032: private String parameterConstraintCode;
033:
034: private String parameterWorkgroupName;
035:
036: private ParameterNamespace parameterNamespace;
037:
038: private ParameterType parameterType;
039:
040: private ParameterDetailType parameterDetailType;
041:
042: public Parameter() {
043:
044: }
045:
046: public Parameter(String parameterName, String parameterValue,
047: String parameterConstraintCode) {
048: this .parameterName = parameterName;
049: this .parameterValue = parameterValue;
050: this .parameterConstraintCode = parameterConstraintCode;
051: }
052:
053: public String getParameterName() {
054: return parameterName;
055: }
056:
057: public void setParameterName(String parameterName) {
058: this .parameterName = parameterName;
059: }
060:
061: public String getParameterValue() {
062: return parameterValue;
063: }
064:
065: public void setParameterValue(String parameterValue) {
066: this .parameterValue = parameterValue;
067: }
068:
069: public String getParameterDescription() {
070: return parameterDescription;
071: }
072:
073: public void setParameterDescription(String parameterDescription) {
074: this .parameterDescription = parameterDescription;
075: }
076:
077: public String getParameterTypeCode() {
078: return parameterTypeCode;
079: }
080:
081: public void setParameterTypeCode(String parameterTypeCode) {
082: this .parameterTypeCode = parameterTypeCode;
083: }
084:
085: public String getParameterConstraintCode() {
086: return parameterConstraintCode;
087: }
088:
089: public void setParameterConstraintCode(
090: String parameterConstraintCode) {
091: this .parameterConstraintCode = parameterConstraintCode;
092: }
093:
094: public String getParameterWorkgroupName() {
095: return parameterWorkgroupName;
096: }
097:
098: public void setParameterWorkgroupName(String parameterWorkgroupName) {
099: this .parameterWorkgroupName = parameterWorkgroupName;
100: }
101:
102: /**
103: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
104: */
105: protected LinkedHashMap toStringMapper() {
106: LinkedHashMap m = new LinkedHashMap();
107: m.put("parameterNamespaceCode", this .parameterNamespaceCode);
108: m.put("parameterDetailTypeCode", this .parameterDetailTypeCode);
109: m.put("parameterName", this .parameterName);
110: m.put("parameterValue", this .parameterValue);
111: m.put("parameterConstraintCode", this
112: .getParameterConstraintCode());
113: return m;
114: }
115:
116: public ParameterType getParameterType() {
117: return parameterType;
118: }
119:
120: public void setParameterType(ParameterType parameterType) {
121: this .parameterType = parameterType;
122: }
123:
124: public String getParameterNamespaceCode() {
125: return parameterNamespaceCode;
126: }
127:
128: public void setParameterNamespaceCode(String parameterNamespaceCode) {
129: this .parameterNamespaceCode = parameterNamespaceCode;
130: }
131:
132: public String getParameterDetailTypeCode() {
133: return parameterDetailTypeCode;
134: }
135:
136: public void setParameterDetailTypeCode(
137: String parameterDetailTypeCode) {
138: this .parameterDetailTypeCode = parameterDetailTypeCode;
139: }
140:
141: public ParameterNamespace getParameterNamespace() {
142: return parameterNamespace;
143: }
144:
145: public void setParameterNamespace(
146: ParameterNamespace parameterNamespace) {
147: this .parameterNamespace = parameterNamespace;
148: }
149:
150: public ParameterDetailType getParameterDetailType() {
151: return parameterDetailType;
152: }
153:
154: public void setParameterDetailType(
155: ParameterDetailType parameterDetailType) {
156: this.parameterDetailType = parameterDetailType;
157: }
158:
159: }
|