2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 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=========================================================
21 package org.onap.appc.flow.controller.data;
23 import com.fasterxml.jackson.annotation.JsonProperty;
25 public class ActionIdentifier {
28 public int hashCode() {
31 result = prime * result + ((vnfId == null) ? 0 : vnfId.hashCode());
36 public boolean equals(Object obj) {
41 if (getClass() != obj.getClass())
43 ActionIdentifier other = (ActionIdentifier) obj;
45 if (other.vnfId != null)
47 } else if (!vnfId.equals(other.vnfId))
52 @JsonProperty("vnf-id")
53 private String vnfId ;
55 public String getVnfId() {
59 public void setVnfId(String vnfId) {
64 public String toString() {
65 return "ActionIdentifier [vnfId=" + vnfId + "]";