1package org.apache.archiva.rest.api.model;
2/*3 * Licensed to the Apache Software Foundation (ASF) under one4 * or more contributor license agreements. See the NOTICE file5 * distributed with this work for additional information6 * regarding copyright ownership. The ASF licenses this file7 * to you under the Apache License, Version 2.0 (the8 * "License"); you may not use this file except in compliance9 * with the License. You may obtain a copy of the License at10 *11 * http://www.apache.org/licenses/LICENSE-2.012 *13 * Unless required by applicable law or agreed to in writing,14 * software distributed under the License is distributed on an15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY16 * KIND, either express or implied. See the License for the17 * specific language governing permissions and limitations18 * under the License.19 */2021import javax.xml.bind.annotation.XmlRootElement;
22import java.io.Serializable;
23import java.util.Map;
2425/**26 * @author Adrien Lecharpentier <alecharp@apache.org>27 * @since 1.4-M428 */29 @XmlRootElement( name = "metadataAddRequest" )
30publicclassMetadataAddRequest31implements Serializable
32 {
33private String groupId;
3435private String artifactId;
3637private String version;
3839private Map<String, String> metadatas;
4041publicMetadataAddRequest()
42 {
43// no op44 }
4546public String getGroupId()
47 {
48return groupId;
49 }
5051publicvoid setGroupId( String groupId )
52 {
53this.groupId = groupId;
54 }
5556public String getArtifactId()
57 {
58return artifactId;
59 }
6061publicvoid setArtifactId( String artifactId )
62 {
63this.artifactId = artifactId;
64 }
6566public String getVersion()
67 {
68return version;
69 }
7071publicvoid setVersion( String version )
72 {
73this.version = version;
74 }
7576public Map<String, String> getMetadatas()
77 {
78return metadatas;
79 }
8081publicvoid setMetadatas( Map<String, String> metadatas )
82 {
83this.metadatas = metadatas;
84 }
85 }