2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
19 * Modifications copyright (c) 2019 Nokia
20 * ================================================================================
23 package org.openecomp.sdc.generator.datatypes.tosca;
25 @SuppressWarnings("CheckStyle")
26 public class LicenseFlavor {
28 String feature_group_uuid;
30 public String getFeature_group_uuid() {
31 return feature_group_uuid;
34 public void setFeature_group_uuid(String feature_group_uuid) {
35 this.feature_group_uuid = feature_group_uuid;
39 public String toString() {
40 return "LicenseFlavor{"
41 + "feature_group_uuid='" + feature_group_uuid + '\''
46 public boolean equals(Object obj) {
49 if (obj == null || getClass() != obj.getClass())
51 LicenseFlavor other = (LicenseFlavor) obj;
53 if (this.feature_group_uuid == null) {
54 if (other.feature_group_uuid != null)
56 } else if (!feature_group_uuid.equals(other.feature_group_uuid))
63 public int hashCode() {
64 return feature_group_uuid != null ? feature_group_uuid.hashCode() : 0;