View Javadoc
1   /*
2    * REPOWEB, repository manager.
3    *
4    * Terms of license - http://opensource.org/licenses/apachepl.php
5    */
6   package org.repoweb.model.file;
7   import org.repoweb.model.ArtifactList;
8   import org.repoweb.model.Group;
9   /***
10   * Implementation for file Repository.
11   */
12  class FGroup implements Group {
13      private final String _groupId;
14      private ArtifactList _artifacts;
15  
16      FGroup(String groupId) {
17          _groupId = groupId;
18      }
19  
20  
21      FGroup(String groupId, ArtifactList artifacts) {
22          _groupId = groupId;
23          _artifacts = artifacts;
24      }
25  
26      public String getGroupId() {
27          return _groupId;
28      }
29  
30  
31      public ArtifactList getArtifacts() {
32          return _artifacts;
33      }
34  }