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 =================== DO NOT EDIT THIS FILE ====================
19 Generated by Modello 2.5.1,
20 any modifications will be overwritten.
21 ==============================================================
22 */
23
24 package org.apache.maven.shared.release.config;
25
26 /**
27 * Class ReleaseStageVersions.
28 *
29 * @version $Revision$ $Date$
30 */
31 @SuppressWarnings( "all" )
32 public class ReleaseStageVersions
33 implements java.io.Serializable
34 {
35
36 //--------------------------/
37 //- Class/Member Variables -/
38 //--------------------------/
39
40 /**
41 * Field original.
42 */
43 private String original;
44
45 /**
46 * Field release.
47 */
48 private String release;
49
50 /**
51 * Field development.
52 */
53 private String development;
54
55
56 //-----------/
57 //- Methods -/
58 //-----------/
59
60 /**
61 * Get the development field.
62 *
63 * @return String
64 */
65 public String getDevelopment()
66 {
67 return this.development;
68 } //-- String getDevelopment()
69
70 /**
71 * Get the original field.
72 *
73 * @return String
74 */
75 public String getOriginal()
76 {
77 return this.original;
78 } //-- String getOriginal()
79
80 /**
81 * Get the release field.
82 *
83 * @return String
84 */
85 public String getRelease()
86 {
87 return this.release;
88 } //-- String getRelease()
89
90 /**
91 * Set the development field.
92 *
93 * @param development a development object.
94 */
95 public void setDevelopment( String development )
96 {
97 this.development = development;
98 } //-- void setDevelopment( String )
99
100 /**
101 * Set the original field.
102 *
103 * @param original a original object.
104 */
105 public void setOriginal( String original )
106 {
107 this.original = original;
108 } //-- void setOriginal( String )
109
110 /**
111 * Set the release field.
112 *
113 * @param release a release object.
114 */
115 public void setRelease( String release )
116 {
117 this.release = release;
118 } //-- void setRelease( String )
119
120
121 @Override
122 public boolean equals( Object obj )
123 {
124 if ( this == obj )
125 {
126 return true;
127 }
128 if ( obj == null || getClass() != obj.getClass() )
129 {
130 return false;
131 }
132
133 ReleaseStageVersions that = (ReleaseStageVersions) obj;
134 if ( !java.util.Objects.equals( original, that.original ) )
135 {
136 return false;
137 }
138 if ( !java.util.Objects.equals( release, that.release ) )
139 {
140 return false;
141 }
142 if ( !java.util.Objects.equals( development, that.development ) )
143 {
144 return false;
145 }
146 return true;
147 }
148
149 @Override
150 public int hashCode()
151 {
152 int result = java.util.Objects.hashCode( original );
153 result = 29 * result + java.util.Objects.hashCode( release );
154 result = 29 * result + java.util.Objects.hashCode( development );
155 return result;
156 }
157
158
159 }