1   
2   
3   
4   
5   
6   
7   
8   
9   
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  package no.feide.moria.webservices.v2_3;
22  
23  import java.io.Serializable;
24  
25  /***
26   * @author Bjørn Ola Smievoll <b.o.smievoll@conduct.no>
27   * @version $Revision: 1.1 $
28   */
29  public final class Attribute implements Serializable {
30  
31      /*** The name of this Attribute. */
32      private String name = null;
33  
34      /*** The values of this Attribute. */
35      private String[] values = null;
36  
37      /***
38       * Gets the name of this attribute.
39       *
40       * @return Returns the name.
41       */
42      public String getName() {
43          return name;
44      }
45  
46      /***
47       * Sets the name of the attribute.
48       *
49       * @param name The name to set.
50       */
51      public void setName(final String name) {
52          this.name = name;
53      }
54  
55      /***
56       * Gets a String array containing the values of the attribute.
57       *
58       * @return The value array.
59       */
60      public String[] getValues() {
61          return values;
62      }
63  
64      /***
65       * Sets the values for the attribute.
66       *
67       * @param values The values to set.
68       */
69      public void setValues(final String[] values) {
70          this.values = values;
71      }
72  }