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