This project has retired. For details please refer to its Attic page.
Source code
001package org.apache.archiva.rest.api.model;
002/*
003 * Licensed to the Apache Software Foundation (ASF) under one
004 * or more contributor license agreements.  See the NOTICE file
005 * distributed with this work for additional information
006 * regarding copyright ownership.  The ASF licenses this file
007 * to you under the Apache License, Version 2.0 (the
008 * "License"); you may not use this file except in compliance
009 * with the License.  You may obtain a copy of the License at
010 *
011 * http://www.apache.org/licenses/LICENSE-2.0
012 *
013 * Unless required by applicable law or agreed to in writing,
014 * software distributed under the License is distributed on an
015 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
016 * KIND, either express or implied.  See the License for the
017 * specific language governing permissions and limitations
018 * under the License.
019 */
020
021import javax.xml.bind.annotation.XmlRootElement;
022import java.util.List;
023
024/**
025 * @author Olivier Lamy
026 * @since 1.4-M4
027 */
028@XmlRootElement( name = "redbackImplementationsInformations" )
029public class RedbackImplementationsInformations
030{
031    private List<UserManagerImplementationInformation> userManagerImplementationInformations;
032
033    private List<RBACManagerImplementationInformation> rbacManagerImplementationInformations;
034
035    public RedbackImplementationsInformations()
036    {
037        // no op
038    }
039
040    public RedbackImplementationsInformations(
041        List<UserManagerImplementationInformation> userManagerImplementationInformations,
042        List<RBACManagerImplementationInformation> rbacManagerImplementationInformations )
043    {
044        this.userManagerImplementationInformations = userManagerImplementationInformations;
045        this.rbacManagerImplementationInformations = rbacManagerImplementationInformations;
046    }
047
048    public List<UserManagerImplementationInformation> getUserManagerImplementationInformations()
049    {
050        return userManagerImplementationInformations;
051    }
052
053    public void setUserManagerImplementationInformations(
054        List<UserManagerImplementationInformation> userManagerImplementationInformations )
055    {
056        this.userManagerImplementationInformations = userManagerImplementationInformations;
057    }
058
059    public List<RBACManagerImplementationInformation> getRbacManagerImplementationInformations()
060    {
061        return rbacManagerImplementationInformations;
062    }
063
064    public void setRbacManagerImplementationInformations(
065        List<RBACManagerImplementationInformation> rbacManagerImplementationInformations )
066    {
067        this.rbacManagerImplementationInformations = rbacManagerImplementationInformations;
068    }
069
070    @Override
071    public String toString()
072    {
073        final StringBuilder sb = new StringBuilder();
074        sb.append( "RedbackImplementationsInformations" );
075        sb.append( "{userManagerImplementationInformations=" ).append( userManagerImplementationInformations );
076        sb.append( ", rbacManagerImplementationInformations=" ).append( rbacManagerImplementationInformations );
077        sb.append( '}' );
078        return sb.toString();
079    }
080}