001    /**
002     * Copyright 2005-2013 The Kuali Foundation
003     *
004     * Licensed under the Educational Community License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     *
008     * http://www.opensource.org/licenses/ecl2.php
009     *
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013     * See the License for the specific language governing permissions and
014     * limitations under the License.
015     */
016    package org.kuali.rice.kew.rule;
017    
018    import org.kuali.rice.kew.rule.web.WebRuleBaseValues;
019    
020    
021    /**
022     * Used by the {@link WebRuleBaseValues} to hold key-value-id data for {@link Field}s.
023     *
024     * @author Kuali Rice Team (rice.collab@kuali.org)
025     */
026    public class KeyValueId {
027            private String key;
028            private String value;
029            private String id;
030    
031            public KeyValueId() {
032    
033            }
034    
035            public KeyValueId(String key, String value, String id) {
036                    this.key = key;
037                    this.value = value;
038                    this.id = id;
039            }
040    
041            public String getId() {
042                    return id;
043            }
044    
045            public void setId(String id) {
046                    this.id = id;
047            }
048    
049            public String getKey() {
050                    return key;
051            }
052    
053            public void setKey(String key) {
054                    this.key = key;
055            }
056    
057            public String getValue() {
058                    return value;
059            }
060    
061            public void setValue(String value) {
062                    this.value = value;
063            }
064    
065    }