View Javadoc
1   /*
2    * Copyright 2006-2009 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
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   * Created on Feb 16, 2006
18   *
19   */
20  package org.kuali.ole.module.purap.util.cxml;
21  
22  import org.apache.commons.lang.builder.ToStringBuilder;
23  
24  public class CxmlExtrinsic {
25  
26      private String name;
27      private String value;
28  
29      public CxmlExtrinsic() {
30      }
31  
32      public CxmlExtrinsic(String name, String value) {
33          this.name = name;
34          this.value = value;
35      }
36  
37      public String getName() {
38          return name;
39      }
40  
41      public void setName(String name) {
42          this.name = name;
43      }
44  
45      public String getValue() {
46          return value;
47      }
48  
49      public void setValue(String value) {
50          this.value = value;
51      }
52  
53      public String toString() {
54          ToStringBuilder toString = new ToStringBuilder(this);
55          toString.append("Name", getName());
56          toString.append("Value", getValue());
57          return toString.toString();
58      }
59  }