From 645f53bc65ca649d0ffbdea31d720a371f20811a Mon Sep 17 00:00:00 2001 From: Hengye Date: Fri, 29 Mar 2019 15:07:38 +0000 Subject: fix code smell in model-impl Issue-ID: POLICY-1264 Change-Id: Idacb7151978373e48098790d9d86825410b65aa6 Signed-off-by: Hengye --- .../org/onap/policy/appclcm/LcmCommonHeader.java | 30 +++++++++++----------- .../java/org/onap/policy/appclcm/LcmRequest.java | 18 ++++++------- .../java/org/onap/policy/appclcm/LcmWrapper.java | 24 ++++++++--------- 3 files changed, 36 insertions(+), 36 deletions(-) (limited to 'models-interactions/model-impl/appclcm/src') diff --git a/models-interactions/model-impl/appclcm/src/main/java/org/onap/policy/appclcm/LcmCommonHeader.java b/models-interactions/model-impl/appclcm/src/main/java/org/onap/policy/appclcm/LcmCommonHeader.java index c8126275a..a2717f49c 100644 --- a/models-interactions/model-impl/appclcm/src/main/java/org/onap/policy/appclcm/LcmCommonHeader.java +++ b/models-interactions/model-impl/appclcm/src/main/java/org/onap/policy/appclcm/LcmCommonHeader.java @@ -8,9 +8,9 @@ * 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 - * + * * 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. @@ -57,7 +57,7 @@ public class LcmCommonHeader implements Serializable { /** * Used to copy a common header. - * + * * @param commonHeader a header that is defined by the lcm api guide that contains information * about the request (requestId, flags, etc.) */ @@ -72,7 +72,7 @@ public class LcmCommonHeader implements Serializable { /** * Get the timestamp. - * + * * @return the timeStamp */ public Instant getTimeStamp() { @@ -81,7 +81,7 @@ public class LcmCommonHeader implements Serializable { /** * Set the timestamp. - * + * * @param timeStamp the timeStamp to set */ public void setTimeStamp(Instant timeStamp) { @@ -90,7 +90,7 @@ public class LcmCommonHeader implements Serializable { /** * Get the API version. - * + * * @return the apiVer */ public String getApiVer() { @@ -99,7 +99,7 @@ public class LcmCommonHeader implements Serializable { /** * Set the API version. - * + * * @param apiVer the apiVer to set */ public void setApiVer(String apiVer) { @@ -108,7 +108,7 @@ public class LcmCommonHeader implements Serializable { /** * Get the originator Id. - * + * * @return the originatorId */ public String getOriginatorId() { @@ -117,7 +117,7 @@ public class LcmCommonHeader implements Serializable { /** * Set the originator Id. - * + * * @param originatorId the originatorId to set */ public void setOriginatorId(String originatorId) { @@ -126,7 +126,7 @@ public class LcmCommonHeader implements Serializable { /** * Get the request Id. - * + * * @return the requestId */ public UUID getRequestId() { @@ -135,7 +135,7 @@ public class LcmCommonHeader implements Serializable { /** * Set the request Id. - * + * * @param requestId the requestId to set */ public void setRequestId(UUID requestId) { @@ -144,7 +144,7 @@ public class LcmCommonHeader implements Serializable { /** * Get the sub request Id. - * + * * @return the subRequestId */ public String getSubRequestId() { @@ -153,7 +153,7 @@ public class LcmCommonHeader implements Serializable { /** * Set the sub request Id. - * + * * @param subRequestId the subRequestId to set */ public void setSubRequestId(String subRequestId) { @@ -162,7 +162,7 @@ public class LcmCommonHeader implements Serializable { /** * Get the flags. - * + * * @return the flags */ public Map getFlags() { @@ -171,7 +171,7 @@ public class LcmCommonHeader implements Serializable { /** * Set the flags. - * + * * @param flags the flags to set */ public void setFlags(Map flags) { diff --git a/models-interactions/model-impl/appclcm/src/main/java/org/onap/policy/appclcm/LcmRequest.java b/models-interactions/model-impl/appclcm/src/main/java/org/onap/policy/appclcm/LcmRequest.java index 3e8f71743..0ea6e9c7f 100644 --- a/models-interactions/model-impl/appclcm/src/main/java/org/onap/policy/appclcm/LcmRequest.java +++ b/models-interactions/model-impl/appclcm/src/main/java/org/onap/policy/appclcm/LcmRequest.java @@ -8,9 +8,9 @@ * 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 - * + * * 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. @@ -52,7 +52,7 @@ public class LcmRequest implements Serializable { /** * Get the action. - * + * * @return the action */ public String getAction() { @@ -61,7 +61,7 @@ public class LcmRequest implements Serializable { /** * Set the action. - * + * * @param action the action to set */ public void setAction(String action) { @@ -70,7 +70,7 @@ public class LcmRequest implements Serializable { /** * Get the action identifiers. - * + * * @return the actionIdentifiers */ public Map getActionIdentifiers() { @@ -79,7 +79,7 @@ public class LcmRequest implements Serializable { /** * Set the action identifiers. - * + * * @param actionIdentifiers the actionIdentifiers to set */ public void setActionIdentifiers(Map actionIdentifiers) { @@ -88,7 +88,7 @@ public class LcmRequest implements Serializable { /** * Get the payload. - * + * * @return the payload */ public String getPayload() { @@ -97,7 +97,7 @@ public class LcmRequest implements Serializable { /** * Set the payload. - * + * * @param payload the payload to set */ public void setPayload(String payload) { @@ -106,7 +106,7 @@ public class LcmRequest implements Serializable { /** * Get the common header. - * + * * @param commonHeader the commonHeader to set */ public void setCommonHeader(LcmCommonHeader commonHeader) { diff --git a/models-interactions/model-impl/appclcm/src/main/java/org/onap/policy/appclcm/LcmWrapper.java b/models-interactions/model-impl/appclcm/src/main/java/org/onap/policy/appclcm/LcmWrapper.java index 244c6abb4..f9a8d5589 100644 --- a/models-interactions/model-impl/appclcm/src/main/java/org/onap/policy/appclcm/LcmWrapper.java +++ b/models-interactions/model-impl/appclcm/src/main/java/org/onap/policy/appclcm/LcmWrapper.java @@ -8,9 +8,9 @@ * 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 - * + * * 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. @@ -50,7 +50,7 @@ public class LcmWrapper implements Serializable { /** * Get the version. - * + * * @return the version */ public String getVersion() { @@ -59,7 +59,7 @@ public class LcmWrapper implements Serializable { /** * Set the version. - * + * * @param version the version to set */ public void setVersion(String version) { @@ -68,7 +68,7 @@ public class LcmWrapper implements Serializable { /** * Get the cambria partition. - * + * * @return the cambriaPartition */ public String getCambriaPartition() { @@ -77,7 +77,7 @@ public class LcmWrapper implements Serializable { /** * Set the cambria partition. - * + * * @param cambriaPartition the cambriaPartition to set */ public void setCambriaPartition(String cambriaPartition) { @@ -86,7 +86,7 @@ public class LcmWrapper implements Serializable { /** * Get the RPN name. - * + * * @return the rpcName */ public String getRpcName() { @@ -95,7 +95,7 @@ public class LcmWrapper implements Serializable { /** * Set the RPC name. - * + * * @param rpcName the rpcName to set */ public void setRpcName(String rpcName) { @@ -104,7 +104,7 @@ public class LcmWrapper implements Serializable { /** * Get the correlation Id. - * + * * @return the correlationId */ public String getCorrelationId() { @@ -113,7 +113,7 @@ public class LcmWrapper implements Serializable { /** * Set the correclation Id. - * + * * @param correlationId the correlationId to set */ public void setCorrelationId(String correlationId) { @@ -122,7 +122,7 @@ public class LcmWrapper implements Serializable { /** * Get the type. - * + * * @return the type */ public String getType() { @@ -131,7 +131,7 @@ public class LcmWrapper implements Serializable { /** * Set the type. - * + * * @param type the type to set */ public void setType(String type) { -- cgit 1.2.3-korg