01: /* Copyright 2005 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal.layout;
07:
08: /**
09: * This class began its life as a public inner class of RDBMUserLayoutStore.
10: *
11: * @version $Revision: 35703 $ $Date: 2005-05-01 19:14:28 -0700 (Sun, 01 May 2005) $
12: * @since uPortal 2.5 before 2.5 this was an inner class of org.jasig.portal.RDBMUserLayoutStore.
13: */
14: public class StructureParameter {
15: // TODO: provide an intelligent Type comment for this object.
16:
17: /**
18: * The parameter name.
19: */
20: private final String name;
21:
22: /**
23: * The parameter value.
24: */
25: private final String value;
26:
27: /**
28: * Create a new StructureParameter instance representing the
29: * given name, value pair.
30: * @param name the name of the parameter
31: * @param value the value for the parameter
32: */
33: public StructureParameter(String name, String value) {
34: this .name = name;
35: this .value = value;
36: }
37:
38: /**
39: * Get the name of this parameter.
40: * @return the name of this parameter.
41: */
42: public String getName() {
43: return this .name;
44: }
45:
46: /**
47: * Get the value of this parameter.
48: * @return the value of the parameter.
49: */
50: public String getValue() {
51: return this.value;
52: }
53: }
|