View Javadoc

1   /*
2    * $Revision: 1.1 $
3    * $Date: 2006/02/24 16:50:42 $
4    *
5    * ====================================================================
6    * Struts back mechanism
7    * Copyright (C) 2006 - Manfred Wolff
8    * 
9    * Licensed under the Apache License, Version 2.0 (the "License");
10   * you may not use this file except in compliance with the License.
11   * You may obtain a copy of the License at
12   * 
13   *      http://www.apache.org/licenses/LICENSE-2.0
14   * 
15   * Unless required by applicable law or agreed to in writing, software
16   * distributed under the License is distributed on an "AS IS" BASIS,
17   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18   * See the License for the specific language governing permissions and
19   * limitations under the License.
20   *
21   * created: 21-01-2006 Manfred Wolff (wolff@mwolff.org)
22   */
23  package org.mwolff.struts.back;
24  
25  /***
26   * 
27   * @since 1.0
28   * @author <a href="mailto:wolff@mwolff.org">Manfred Wolff </a>
29   */
30  public class ArrayEntry {
31      
32      /***
33       * Default Contructor.
34       */
35      public ArrayEntry() {
36          super();
37      }
38  
39      /***
40       * Constructor with value.
41       * @param value The value to be set.
42       */
43      public ArrayEntry(final Object value) {
44          this.value = value;
45      }
46      
47      /*** The value of the entry. */
48      private Object value;
49  
50      /***
51       * Gets the value of the entry.
52       * @return The value of the entry.
53       */
54      public final Object getValue() {
55          return value;
56      }
57  
58      /***
59       * Sets the value of the entry.
60       * @param value The value of the entry.
61       */
62      public final void setValue(final Object value) {
63          this.value = value;
64      }
65  }