diff options
author | James Forsyth <jf2512@att.com> | 2018-09-14 15:19:04 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-09-14 15:19:04 +0000 |
commit | 34c604e8197b3bc9b8c775d0555fad0cb13444bb (patch) | |
tree | 2967058135df43f971282ee2e84b9938d8c892f0 /aai-core/src/main | |
parent | c551fac739389f6eade477dc0cf2682955e3473a (diff) | |
parent | 1b1b85284473f0a0e288cbbd5d42a6e78bff8a06 (diff) |
Merge "fixes in AAIResponseMessageData.java"
Diffstat (limited to 'aai-core/src/main')
-rw-r--r-- | aai-core/src/main/java/org/onap/aai/domain/responseMessage/AAIResponseMessageData.java | 58 |
1 files changed, 30 insertions, 28 deletions
diff --git a/aai-core/src/main/java/org/onap/aai/domain/responseMessage/AAIResponseMessageData.java b/aai-core/src/main/java/org/onap/aai/domain/responseMessage/AAIResponseMessageData.java index 49fb0c1e..1f40906f 100644 --- a/aai-core/src/main/java/org/onap/aai/domain/responseMessage/AAIResponseMessageData.java +++ b/aai-core/src/main/java/org/onap/aai/domain/responseMessage/AAIResponseMessageData.java @@ -4,6 +4,8 @@ * ================================================================================ * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved. * ================================================================================ + * Modifications Copyright © 2018 IBM. + * ================================================================================ * 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 @@ -39,39 +41,39 @@ import javax.xml.bind.annotation.XmlType; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "aaiResponseMessageDatum", - "any" + "aaiResponseMessageDatum", + "any" }) @XmlRootElement(name = "aai-response-message-data", namespace = "http://org.onap.aai.inventory") public class AAIResponseMessageData { - @XmlElement(name = "aai-response-message-datum") - protected List<AAIResponseMessageDatum> aaiResponseMessageDatum; - @XmlAnyElement(lax = true) - protected List<Object> any; + @XmlElement(name = "aai-response-message-datum") + protected List<AAIResponseMessageDatum> aaiResponseMessageDatum; + @XmlAnyElement(lax = true) + protected List<Object> any; - /** - * Gets the AAI response message datum. - * - * @return the AAI response message datum - */ - public List<AAIResponseMessageDatum> getAAIResponseMessageDatum() { - if (aaiResponseMessageDatum == null) { - aaiResponseMessageDatum = new ArrayList<AAIResponseMessageDatum>(); - } - return this.aaiResponseMessageDatum; - } + /** + * Gets the AAI response message datum. + * + * @return the AAI response message datum + */ + public List<AAIResponseMessageDatum> getAAIResponseMessageDatum() { + if (aaiResponseMessageDatum == null) { + aaiResponseMessageDatum = new ArrayList<>(); + } + return this.aaiResponseMessageDatum; + } - /** - * Gets the any. - * - * @return the any - */ - public List<Object> getAny() { - if (any == null) { - any = new ArrayList<Object>(); - } - return this.any; - } + /** + * Gets the any. + * + * @return the any + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<>(); + } + return this.any; + } } |