1package org.apache.archiva.redback.rest.api.model;
23/*4 * Licensed to the Apache Software Foundation (ASF) under one5 * or more contributor license agreements. See the NOTICE file6 * distributed with this work for additional information7 * regarding copyright ownership. The ASF licenses this file8 * to you under the Apache License, Version 2.0 (the9 * "License"); you may not use this file except in compliance10 * with the License. You may obtain a copy of the License at11 *12 * http://www.apache.org/licenses/LICENSE-2.013 *14 * Unless required by applicable law or agreed to in writing,15 * software distributed under the License is distributed on an16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY17 * KIND, either express or implied. See the License for the18 * specific language governing permissions and limitations19 * under the License.20 */2122import javax.xml.bind.annotation.XmlRootElement;
23import java.io.Serializable;
24import java.util.ArrayList;
25import java.util.List;
2627/**28 * @author Olivier Lamy29 */30 @XmlRootElement( name = "ldapGroupMappingUpdateRequest" )
31publicclassLdapGroupMappingUpdateRequest32implements Serializable
33 {
3435private List<LdapGroupMapping> ldapGroupMapping;
3637publicLdapGroupMappingUpdateRequest()
38 {
39// no op40 }
4142public List<LdapGroupMapping> getLdapGroupMapping()
43 {
44if ( this.ldapGroupMapping == null )
45 {
46this.ldapGroupMapping = new ArrayList<LdapGroupMapping>();
47 }
48return ldapGroupMapping;
49 }
5051publicvoid setLdapGroupMapping( List<LdapGroupMapping> ldapGroupMapping )
52 {
53this.ldapGroupMapping = ldapGroupMapping;
54 }
5556 @Override
57public String toString()
58 {
59final StringBuilder sb = new StringBuilder( "LdapGroupMappingUpdateRequest{" );
60 sb.append( "ldapGroupMapping=" ).append( ldapGroupMapping );
61 sb.append( '}' );
62return sb.toString();
63 }
64 }