1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.astrogrid.community.install.loader ;
19
20 import java.util.HashMap ;
21 import java.util.ArrayList ;
22 import java.util.Collection ;
23
24 /***
25 * A data object Castor to load Community data into.
26 *
27 */
28 public class CommunityLoaderData
29 {
30 /***
31 * Public constructor.
32 *
33 */
34 public CommunityLoaderData()
35 {
36 }
37
38 /***
39 * Our identifier.
40 *
41 */
42 private String ident ;
43
44 /***
45 * Access to our identifier.
46 * @return Our Community identifier.
47 *
48 */
49 public String getIdent()
50 {
51 return this.ident ;
52 }
53
54 /***
55 * Access to our identifier.
56 * @param ident the Community identifier.
57 *
58 */
59 public void setIdent(String ident)
60 {
61 this.ident = ident ;
62 }
63
64 /***
65 * Our collection of Accounts.
66 *
67 */
68 private Collection accounts = new ArrayList() ;
69
70 /***
71 * Access to our Accoounts.
72 *
73 */
74 public Collection getAccounts()
75 {
76 return this.accounts ;
77 }
78
79 /***
80 * Our collection of Groups.
81 *
82 */
83 private Collection groups = new ArrayList() ;
84
85 /***
86 * Access to our Groups.
87 *
88 */
89 public Collection getGroups()
90 {
91 return this.groups ;
92 }
93
94 /***
95 * Our collection of passwords.
96 *
97 */
98 private HashMap passwords = new HashMap() ;
99
100 /***
101 * Access to our passwords.
102 *
103 */
104 public HashMap getPasswords()
105 {
106 return this.passwords ;
107 }
108
109 }
110