This project has retired. For details please refer to its Attic page.
RedbackImplementationsInformations xref
View Javadoc
1   package org.apache.archiva.rest.api.model;
2   /*
3    * Licensed to the Apache Software Foundation (ASF) under one
4    * or more contributor license agreements.  See the NOTICE file
5    * distributed with this work for additional information
6    * regarding copyright ownership.  The ASF licenses this file
7    * to you under the Apache License, Version 2.0 (the
8    * "License"); you may not use this file except in compliance
9    * with the License.  You may obtain a copy of the License at
10   *
11   * http://www.apache.org/licenses/LICENSE-2.0
12   *
13   * Unless required by applicable law or agreed to in writing,
14   * software distributed under the License is distributed on an
15   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16   * KIND, either express or implied.  See the License for the
17   * specific language governing permissions and limitations
18   * under the License.
19   */
20  
21  import javax.xml.bind.annotation.XmlRootElement;
22  import java.util.List;
23  
24  /**
25   * @author Olivier Lamy
26   * @since 1.4-M4
27   */
28  @XmlRootElement( name = "redbackImplementationsInformations" )
29  public class RedbackImplementationsInformations
30  {
31      private List<UserManagerImplementationInformation> userManagerImplementationInformations;
32  
33      private List<RBACManagerImplementationInformation> rbacManagerImplementationInformations;
34  
35      public RedbackImplementationsInformations()
36      {
37          // no op
38      }
39  
40      public RedbackImplementationsInformations(
41          List<UserManagerImplementationInformation> userManagerImplementationInformations,
42          List<RBACManagerImplementationInformation> rbacManagerImplementationInformations )
43      {
44          this.userManagerImplementationInformations = userManagerImplementationInformations;
45          this.rbacManagerImplementationInformations = rbacManagerImplementationInformations;
46      }
47  
48      public List<UserManagerImplementationInformation> getUserManagerImplementationInformations()
49      {
50          return userManagerImplementationInformations;
51      }
52  
53      public void setUserManagerImplementationInformations(
54          List<UserManagerImplementationInformation> userManagerImplementationInformations )
55      {
56          this.userManagerImplementationInformations = userManagerImplementationInformations;
57      }
58  
59      public List<RBACManagerImplementationInformation> getRbacManagerImplementationInformations()
60      {
61          return rbacManagerImplementationInformations;
62      }
63  
64      public void setRbacManagerImplementationInformations(
65          List<RBACManagerImplementationInformation> rbacManagerImplementationInformations )
66      {
67          this.rbacManagerImplementationInformations = rbacManagerImplementationInformations;
68      }
69  
70      @Override
71      public String toString()
72      {
73          final StringBuilder sb = new StringBuilder();
74          sb.append( "RedbackImplementationsInformations" );
75          sb.append( "{userManagerImplementationInformations=" ).append( userManagerImplementationInformations );
76          sb.append( ", rbacManagerImplementationInformations=" ).append( rbacManagerImplementationInformations );
77          sb.append( '}' );
78          return sb.toString();
79      }
80  }