View Javadoc

1   /*
2    * <cvs:source>$Source: /devel/astrogrid/community/install/src/java/org/astrogrid/community/install/loader/CommunityLoaderData.java,v $</cvs:source>
3    * <cvs:author>$Author: dave $</cvs:author>
4    * <cvs:date>$Date: 2004/06/18 13:45:20 $</cvs:date>
5    * <cvs:version>$Revision: 1.4 $</cvs:version>
6    *
7    * <cvs:log>
8    *   $Log: CommunityLoaderData.java,v $
9    *   Revision 1.4  2004/06/18 13:45:20  dave
10   *   Merged development branch, dave-dev-200406081614, into HEAD
11   *
12   *   Revision 1.3.32.1  2004/06/17 13:38:59  dave
13   *   Tidied up old CVS log entries
14   *
15   * </cvs:log>
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