diff options
Diffstat (limited to 'dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/VNicUsageArrayMixin.java')
-rw-r--r-- | dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/VNicUsageArrayMixin.java | 30 |
1 files changed, 9 insertions, 21 deletions
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/VNicUsageArrayMixin.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/VNicUsageArrayMixin.java index e882183..295c8c8 100644 --- a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/VNicUsageArrayMixin.java +++ b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/VNicUsageArrayMixin.java @@ -1,48 +1,36 @@ /* - * ===============================LICENSE_START====================================== - * dcae-analytics + * ============LICENSE_START========================================================= + * dcae-analytics * ================================================================================ - * Copyright © 2017 AT&T Intellectual Property. All rights reserved. + * Copyright © 2017 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * ============================LICENSE_END=========================================== + * ============LICENSE_END========================================================= */ package org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef; -import com.fasterxml.jackson.annotation.JsonGetter; import com.fasterxml.jackson.annotation.JsonSetter; /** - * @author Rajiv Singla . Creation Date: 10/18/2016. + * @author Rajiv Singla. Creation Date: 08/15/2017. */ public abstract class VNicUsageArrayMixin extends BaseCEFModelMixin { - /** - * Provides hint to Jackson Jackson deserialization to bind "vNicIdentifier" string to "vNicIdentifier" - * variable in CEF parsed Java Object - * - * @param name of the vNicIdentifier - */ @JsonSetter("vNicIdentifier") public abstract void setVNicIdentifier(String name); - /** - * Provides hint to Jackson Jackson serialization to bind "vNicIdentifier" field to "vNicIdentifier" in json - * - * @return name of vNicIdentifier - */ - @JsonGetter("vNicIdentifier") - public abstract String getVNicIdentifier(); + @JsonSetter("vNicIdentifier") + public abstract String setVNicIdentifier(); } |