1 /* 2 * Licensed to the Apache Software Foundation (ASF) under one 3 * or more contributor license agreements. See the NOTICE file 4 * distributed with this work for additional information 5 * regarding copyright ownership. The ASF licenses this file 6 * to you under the Apache License, Version 2.0 (the 7 * "License"); you may not use this file except in compliance 8 * with the License. You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, 13 * software distributed under the License is distributed on an 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 * KIND, either express or implied. See the License for the 16 * specific language governing permissions and limitations 17 * under the License. 18 */ 19 package org.apache.maven.shared.release.policy.naming; 20 21 /** 22 * <p>NamingPolicyRequest class.</p> 23 * 24 * @author Robert Scholte 25 * @since 3.0.0-M5 26 */ 27 public class NamingPolicyRequest { 28 private String groupId; 29 30 private String artifactId; 31 32 private String version; 33 34 /** 35 * <p>Getter for the field <code>groupId</code>.</p> 36 * 37 * @return a {@link java.lang.String} object 38 */ 39 public String getGroupId() { 40 return groupId; 41 } 42 43 /** 44 * <p>Setter for the field <code>groupId</code>.</p> 45 * 46 * @param groupId a {@link java.lang.String} object 47 * @return a {@link org.apache.maven.shared.release.policy.naming.NamingPolicyRequest} object 48 */ 49 public NamingPolicyRequest setGroupId(String groupId) { 50 this.groupId = groupId; 51 return this; 52 } 53 54 /** 55 * <p>Getter for the field <code>artifactId</code>.</p> 56 * 57 * @return a {@link java.lang.String} object 58 */ 59 public String getArtifactId() { 60 return artifactId; 61 } 62 63 /** 64 * <p>Setter for the field <code>artifactId</code>.</p> 65 * 66 * @param artifactId a {@link java.lang.String} object 67 * @return a {@link org.apache.maven.shared.release.policy.naming.NamingPolicyRequest} object 68 */ 69 public NamingPolicyRequest setArtifactId(String artifactId) { 70 this.artifactId = artifactId; 71 return this; 72 } 73 74 /** 75 * <p>Getter for the field <code>version</code>.</p> 76 * 77 * @return a {@link java.lang.String} object 78 */ 79 public String getVersion() { 80 return version; 81 } 82 83 /** 84 * <p>Setter for the field <code>version</code>.</p> 85 * 86 * @param version a {@link java.lang.String} object 87 * @return a {@link org.apache.maven.shared.release.policy.naming.NamingPolicyRequest} object 88 */ 89 public NamingPolicyRequest setVersion(String version) { 90 this.version = version; 91 return this; 92 } 93 }