diff options
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire')
30 files changed, 300 insertions, 927 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/ComponentQuestionnaire.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/ComponentQuestionnaire.java index e451292eaf..6699671d61 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/ComponentQuestionnaire.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/ComponentQuestionnaire.java @@ -7,9 +7,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. @@ -21,59 +21,24 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component; +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; import org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.compute.Compute; import org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.general.General; import org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.highAvailability.HighAvailabilityAndLoadBalancing; import org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.network.Network; import org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.storage.Storage; -/** - * Created by TALIO on 11/21/2016 - */ +@Getter +@Setter +@NoArgsConstructor public class ComponentQuestionnaire { + private General general; private Compute compute; private HighAvailabilityAndLoadBalancing highAvailabilityAndLoadBalancing; private Network network; private Storage storage; - public General getGeneral() { - return general; - } - - public void setGeneral(General general) { - this.general = general; - } - - public Compute getCompute() { - return compute; - } - - public void setCompute(Compute compute) { - this.compute = compute; - } - - public HighAvailabilityAndLoadBalancing getHighAvailabilityAndLoadBalancing() { - return highAvailabilityAndLoadBalancing; - } - - public void setHighAvailabilityAndLoadBalancing(HighAvailabilityAndLoadBalancing highAvailabilityAndLoadBalancing) { - this.highAvailabilityAndLoadBalancing = highAvailabilityAndLoadBalancing; - } - - public Network getNetwork() { - return network; - } - - public void setNetwork(Network network) { - this.network = network; - } - - public Storage getStorage() { - return storage; - } - - public void setStorage(Storage storage) { - this.storage = storage; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/compute/Compute.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/compute/Compute.java index 9295288aca..dd5fb9057c 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/compute/Compute.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/compute/Compute.java @@ -7,9 +7,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. @@ -20,35 +20,17 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.compute; -/** - * Created by TALIO on 11/22/2016. - */ +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor public class Compute { + private GuestOS guestOS; private NumOfVMs numOfVMs; private VmSizing vmSizing; - public GuestOS getGuestOS() { - return guestOS; - } - - public void setGuestOS(GuestOS guestOS) { - this.guestOS = guestOS; - } - - public NumOfVMs getNumOfVMs() { - return numOfVMs; - } - - public void setNumOfVMs(NumOfVMs numOfVMs) { - this.numOfVMs = numOfVMs; - } - - public VmSizing getVmSizing() { - return vmSizing; - } - - public void setVmSizing(VmSizing vmSizing) { - this.vmSizing = vmSizing; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/compute/GuestOS.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/compute/GuestOS.java index 489557cf08..54de06b1c4 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/compute/GuestOS.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/compute/GuestOS.java @@ -7,9 +7,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. @@ -20,35 +20,17 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.compute; -/** - * Created by TALIO on 11/22/2016. - */ +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor public class GuestOS { + private String name; private String tools; private Number bitSize; - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getTools() { - return tools; - } - - public void setTools(String tools) { - this.tools = tools; - } - - public Number getBitSize() { - return bitSize; - } - - public void setBitSize(Number bitSize) { - this.bitSize = bitSize; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/compute/NumOfVMs.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/compute/NumOfVMs.java index 3b0b8dbb0c..f135ba78ff 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/compute/NumOfVMs.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/compute/NumOfVMs.java @@ -7,9 +7,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. @@ -20,44 +20,19 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.compute; -/** - * Created by TALIO on 11/22/2016. - */ +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor public class NumOfVMs { + private int minimum; private int maximum; private String CpuOverSubscriptionRatio; private String MemoryRAM; - public int getMinimum() { - return minimum; - } - - public void setMinimum(int minimum) { - this.minimum = minimum; - } - - public int getMaximum() { - return maximum; - } - - public void setMaximum(int maximum) { - this.maximum = maximum; - } - - public String getCpuOverSubscriptionRatio() { - return CpuOverSubscriptionRatio; - } - - public void setCpuOverSubscriptionRatio(String cpuOverSubscriptionRatio) { - CpuOverSubscriptionRatio = cpuOverSubscriptionRatio; - } - - public String getMemoryRAM() { - return MemoryRAM; - } - public void setMemoryRAM(String memoryRAM) { - MemoryRAM = memoryRAM; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/compute/VmSizing.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/compute/VmSizing.java index a6a8b406cf..0f72d03d10 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/compute/VmSizing.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/compute/VmSizing.java @@ -7,9 +7,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. @@ -20,7 +20,15 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.compute; +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor public class VmSizing { + private int numOfCPUs; private String fileSystemSizeGB; private Number persistentStorageVolumeSize; @@ -28,51 +36,4 @@ public class VmSizing { private String cpuOverSubscriptionRatio; private String memoryRAM; - public int getNumOfCPUs() { - return numOfCPUs; - } - - public void setNumOfCPUs(int numOfCPUs) { - this.numOfCPUs = numOfCPUs; - } - - public String getFileSystemSizeGB() { - return fileSystemSizeGB; - } - - public void setFileSystemSizeGB(String fileSystemSizeGB) { - this.fileSystemSizeGB = fileSystemSizeGB; - } - - public Number getPersistentStorageVolumeSize() { - return persistentStorageVolumeSize; - } - - public void setPersistentStorageVolumeSize(Number persistentStorageVolumeSize) { - this.persistentStorageVolumeSize = persistentStorageVolumeSize; - } - - public Number getIOOperationsPerSec() { - return IOOperationsPerSec; - } - - public void setIOOperationsPerSec(Number IOOperationsPerSec) { - this.IOOperationsPerSec = IOOperationsPerSec; - } - - public String getCpuOverSubscriptionRatio() { - return cpuOverSubscriptionRatio; - } - - public void setCpuOverSubscriptionRatio(String cpuOverSubscriptionRatio) { - this.cpuOverSubscriptionRatio = cpuOverSubscriptionRatio; - } - - public String getMemoryRAM() { - return memoryRAM; - } - - public void setMemoryRAM(String memoryRAM) { - this.memoryRAM = memoryRAM; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/general/General.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/general/General.java index 0129fe0981..328715b90e 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/general/General.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/general/General.java @@ -16,10 +16,15 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.general; -/** - * Created by TALIO on 11/22/2016. - */ +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor public class General { + private Hypervisor hypervisor; private Image image; protected Recovery recovery; @@ -28,59 +33,4 @@ public class General { private String nfcNamingCode; private String nfcFunction; - public Hypervisor getHypervisor() { - return hypervisor; - } - - public void setHypervisor(Hypervisor hypervisor) { - this.hypervisor = hypervisor; - } - - public Image getImage() { - return image; - } - - public void setImage(Image image) { - this.image = image; - } - - public Recovery getRecovery() { - return recovery; - } - - public void setRecovery(Recovery recovery) { - this.recovery = recovery; - } - - public String getDnsConfiguration() { - return dnsConfiguration; - } - - public void setDnsConfiguration(String dnsConfiguration) { - this.dnsConfiguration = dnsConfiguration; - } - - public String getVmCloneUsage() { - return vmCloneUsage; - } - - public void setVmCloneUsage(String vmCloneUsage) { - this.vmCloneUsage = vmCloneUsage; - } - - public String getNfcNamingCode() { - return nfcNamingCode; - } - - public void setNfcNamingCode(String nfcNamingCode) { - this.nfcNamingCode = nfcNamingCode; - } - - public String getNfcFunction() { - return nfcFunction; - } - - public void setNfcFunction(String nfcFunction) { - this.nfcFunction = nfcFunction; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/general/Hypervisor.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/general/Hypervisor.java index 930a3ce285..d2ef0456a9 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/general/Hypervisor.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/general/Hypervisor.java @@ -7,9 +7,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. @@ -20,35 +20,17 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.general; -/** - * Created by TALIO on 11/22/2016. - */ +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor public class Hypervisor { + private String hypervisor; private String drivers; private String containerFeaturesDescription; - public String getHypervisor() { - return hypervisor; - } - - public void setHypervisor(String hypervisor) { - this.hypervisor = hypervisor; - } - - public String getDrivers() { - return drivers; - } - - public void setDrivers(String drivers) { - this.drivers = drivers; - } - - public String getContainerFeaturesDescription() { - return containerFeaturesDescription; - } - - public void setContainerFeaturesDescription(String containerFeaturesDescription) { - this.containerFeaturesDescription = containerFeaturesDescription; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/general/Image.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/general/Image.java index e87c0fd2ce..e00d022532 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/general/Image.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/general/Image.java @@ -7,9 +7,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. @@ -20,44 +20,18 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.general; -/** - * Created by TALIO on 11/22/2016. - */ +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor public class Image { + private String format; private String providedBy; private Number bootDiskSizePerVM; private Number ephemeralDiskSizePerVM; - public String getFormat() { - return format; - } - - public void setFormat(String format) { - this.format = format; - } - - public String getProvidedBy() { - return providedBy; - } - - public void setProvidedBy(String providedBy) { - this.providedBy = providedBy; - } - - public Number getBootDiskSizePerVM() { - return bootDiskSizePerVM; - } - - public void setBootDiskSizePerVM(Number bootDiskSizePerVM) { - this.bootDiskSizePerVM = bootDiskSizePerVM; - } - - public Number getEphemeralDiskSizePerVM() { - return ephemeralDiskSizePerVM; - } - - public void setEphemeralDiskSizePerVM(Number ephemeralDiskSizePerVM) { - this.ephemeralDiskSizePerVM = ephemeralDiskSizePerVM; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/general/Recovery.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/general/Recovery.java index f1f8017689..255e9f9235 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/general/Recovery.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/general/Recovery.java @@ -7,9 +7,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. @@ -20,35 +20,17 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.general; -/** - * Created by TALIO on 11/22/2016. - */ +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor public class Recovery { + private Number pointObjective; private Number timeObjective; private String vmProcessFailuresHandling; - public Number getPointObjective() { - return pointObjective; - } - - public void setPointObjective(Number pointObjective) { - this.pointObjective = pointObjective; - } - - public Number getTimeObjective() { - return timeObjective; - } - - public void setTimeObjective(Number timeObjective) { - this.timeObjective = timeObjective; - } - - public String getVmProcessFailuresHandling() { - return vmProcessFailuresHandling; - } - - public void setVmProcessFailuresHandling(String vmProcessFailuresHandling) { - this.vmProcessFailuresHandling = vmProcessFailuresHandling; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/highAvailability/HighAvailabilityAndLoadBalancing.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/highAvailability/HighAvailabilityAndLoadBalancing.java index b5965887ba..75c4e31b15 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/highAvailability/HighAvailabilityAndLoadBalancing.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/highAvailability/HighAvailabilityAndLoadBalancing.java @@ -7,9 +7,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. @@ -20,10 +20,15 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.highAvailability; -/** - * Created by TALIO on 11/22/2016. - */ +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor public class HighAvailabilityAndLoadBalancing { + private String failureLoadDistribution; private String nkModelImplementation; private String architectureChoice; @@ -33,68 +38,4 @@ public class HighAvailabilityAndLoadBalancing { private String isComponentMandatory; private String highAvailabilityMode; - public String getFailureLoadDistribution() { - return failureLoadDistribution; - } - - public void setFailureLoadDistribution(String failureLoadDistribution) { - this.failureLoadDistribution = failureLoadDistribution; - } - - public String getNkModelImplementation() { - return nkModelImplementation; - } - - public void setNkModelImplementation(String nkModelImplementation) { - this.nkModelImplementation = nkModelImplementation; - } - - public String getArchitectureChoice() { - return architectureChoice; - } - - public void setArchitectureChoice(String architectureChoice) { - this.architectureChoice = architectureChoice; - } - - public String getSlaRequirements() { - return slaRequirements; - } - - public void setSlaRequirements(String slaRequirements) { - this.slaRequirements = slaRequirements; - } - - public String getHorizontalScaling() { - return horizontalScaling; - } - - public void setHorizontalScaling(String horizontalScaling) { - this.horizontalScaling = horizontalScaling; - } - - public String getLoadDistributionMechanism() { - return loadDistributionMechanism; - } - - public void setLoadDistributionMechanism(String loadDistributionMechanism) { - this.loadDistributionMechanism = loadDistributionMechanism; - } - - public String getIsComponentMandatory() { - return isComponentMandatory; - } - - public void setIsComponentMandatory(String isComponentMandatory) { - this.isComponentMandatory = isComponentMandatory; - } - - public String getHighAvailabilityMode() { - return highAvailabilityMode; - } - - public void setHighAvailabilityMode(String highAvailabilityMode) { - this.highAvailabilityMode = highAvailabilityMode; - } - } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/image/ImageDetails.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/image/ImageDetails.java index af123beba2..9d136a167f 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/image/ImageDetails.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/image/ImageDetails.java @@ -7,9 +7,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. @@ -20,34 +20,17 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.image; +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; +@Getter +@Setter +@NoArgsConstructor public class ImageDetails { - private String version; - private String format; - private String md5; + private String version; + private String format; + private String md5; - public String getMd5() { - return md5; - } - - public void setMd5(String md5) { - this.md5 = md5; - } - - public String getFormat() { - return format; - } - - public void setFormat(String format) { - this.format = format; - } - - public String getVersion() { - return version; - } - - public void setVersion(String version) { - this.version = version; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/network/Network.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/network/Network.java index 3e631c791e..197df1c277 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/network/Network.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/network/Network.java @@ -7,9 +7,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. @@ -20,17 +20,15 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.network; -/** - * Created by TALIO on 11/22/2016. - */ +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor public class Network { - private NetworkCapacity networkCapacity; - public NetworkCapacity getNetworkCapacity() { - return networkCapacity; - } + private NetworkCapacity networkCapacity; - public void setNetworkCapacity(NetworkCapacity networkCapacity) { - this.networkCapacity = networkCapacity; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/network/NetworkCapacity.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/network/NetworkCapacity.java index cd1e6e67b5..8976d8298e 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/network/NetworkCapacity.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/network/NetworkCapacity.java @@ -7,9 +7,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. @@ -20,26 +20,16 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.network; -/** - * Created by TALIO on 11/22/2016. - */ +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor public class NetworkCapacity { + private String protocolWithHighestTrafficProfileAcrossAllNICs; private int networkTransactionsPerSecond; - public String getProtocolWithHighestTrafficProfileAcrossAllNICs() { - return protocolWithHighestTrafficProfileAcrossAllNICs; - } - - public void setProtocolWithHighestTrafficProfileAcrossAllNICs(String protocolWithHighestTrafficProfileAcrossAllNICs) { - this.protocolWithHighestTrafficProfileAcrossAllNICs = protocolWithHighestTrafficProfileAcrossAllNICs; - } - - public int getNetworkTransactionsPerSecond() { - return networkTransactionsPerSecond; - } - - public void setNetworkTransactionsPerSecond(int networkTransactionsPerSecond) { - this.networkTransactionsPerSecond = networkTransactionsPerSecond; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/storage/Backup.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/storage/Backup.java index 2357ddfaa1..01b6f7fe1f 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/storage/Backup.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/storage/Backup.java @@ -7,9 +7,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. @@ -20,44 +20,18 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.storage; -/** - * Created by TALIO on 11/22/2016. - */ +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor public class Backup { + private String backupType; private String backupSolution; private String backupNIC; private Number backupStorageSize; - public String getBackupType() { - return backupType; - } - - public void setBackupType(String backupType) { - this.backupType = backupType; - } - - public String getBackupSolution() { - return backupSolution; - } - - public void setBackupSolution(String backupSolution) { - this.backupSolution = backupSolution; - } - - public String getBackupNIC() { - return backupNIC; - } - - public void setBackupNIC(String backupNIC) { - this.backupNIC = backupNIC; - } - - public Number getBackupStorageSize() { - return backupStorageSize; - } - - public void setBackupStorageSize(Number backupStorageSize) { - this.backupStorageSize = backupStorageSize; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/storage/LogBackup.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/storage/LogBackup.java index 1b6453ac86..ff46e6f095 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/storage/LogBackup.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/storage/LogBackup.java @@ -7,9 +7,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. @@ -20,44 +20,18 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.storage; -/** - * Created by TALIO on 11/22/2016. - */ +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor public class LogBackup { + private Number sizeOfLogFiles; private Number logBackupFrequency; private int logRetentionPeriod; private String logFileLocation; - public Number getSizeOfLogFiles() { - return sizeOfLogFiles; - } - - public void setSizeOfLogFiles(Number sizeOfLogFiles) { - this.sizeOfLogFiles = sizeOfLogFiles; - } - - public Number getLogBackupFrequency() { - return logBackupFrequency; - } - - public void setLogBackupFrequency(Number logBackupFrequency) { - this.logBackupFrequency = logBackupFrequency; - } - - public int getLogRetentionPeriod() { - return logRetentionPeriod; - } - - public void setLogRetentionPeriod(int logRetentionPeriod) { - this.logRetentionPeriod = logRetentionPeriod; - } - - public String getLogFileLocation() { - return logFileLocation; - } - - public void setLogFileLocation(String logFileLocation) { - this.logFileLocation = logFileLocation; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/storage/SnapshotBackup.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/storage/SnapshotBackup.java index 6d61c5751a..4266ffbdf8 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/storage/SnapshotBackup.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/storage/SnapshotBackup.java @@ -7,9 +7,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. @@ -20,17 +20,15 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.storage; -/** - * Created by TALIO on 11/22/2016. - */ +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor public class SnapshotBackup { - private int snapshotFrequency; - public int getSnapshotFrequency() { - return snapshotFrequency; - } + private int snapshotFrequency; - public void setSnapshotFrequency(int snapshotFrequency) { - this.snapshotFrequency = snapshotFrequency; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/storage/Storage.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/storage/Storage.java index 36d34964ef..b41536b720 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/storage/Storage.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/storage/Storage.java @@ -7,9 +7,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. @@ -20,35 +20,17 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.storage; -/** - * Created by TALIO on 11/22/2016. - */ +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor public class Storage { + private Backup backup; private LogBackup logBackup; - private SnapshotBackup snapshotBackup; - - public Backup getBackup() { - return backup; - } - - public void setBackup(Backup backup) { - this.backup = backup; - } - - public LogBackup getLogBackup() { - return logBackup; - } - - public void setLogBackup(LogBackup logBackup) { - this.logBackup = logBackup; - } - - public SnapshotBackup getSnapshotBackup() { - return snapshotBackup; - } + private SnapshotBackup snapshotBackup; - public void setSnapshotBackup(SnapshotBackup snapshotBackup) { - this.snapshotBackup = snapshotBackup; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/AcceptableJitter.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/AcceptableJitter.java index e81822ef5f..0a6b993bde 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/AcceptableJitter.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/AcceptableJitter.java @@ -7,9 +7,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. @@ -20,35 +20,17 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.nic; -/** - * Created by TALIO on 11/22/2016. - */ +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor public class AcceptableJitter { + private int mean; private int max; private int variable; - public int getMean() { - return mean; - } - - public void setMean(int mean) { - this.mean = mean; - } - - public int getMax() { - return max; - } - - public void setMax(int max) { - this.max = max; - } - - public int getVariable() { - return variable; - } - - public void setVariable(int variable) { - this.variable = variable; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/IpConfiguration.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/IpConfiguration.java index 06359eb3ef..355fafbc6e 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/IpConfiguration.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/IpConfiguration.java @@ -7,9 +7,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. @@ -20,26 +20,16 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.nic; -/** - * Created by TALIO on 11/22/2016. - */ +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor public class IpConfiguration { + private boolean ipv4Required; private boolean ipv6Required; - public boolean isIpv4Required() { - return ipv4Required; - } - - public void setIpv4Required(boolean ipv4Required) { - this.ipv4Required = ipv4Required; - } - - public boolean isIpv6Required() { - return ipv6Required; - } - - public void setIpv6Required(boolean ipv6Required) { - this.ipv6Required = ipv6Required; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/Network.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/Network.java index 882d309b66..af0ad1f7f6 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/Network.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/Network.java @@ -7,9 +7,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. @@ -20,25 +20,17 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.nic; -/** - * Created by TALIO on 11/22/2016 - */ -public class Network { - private String networkDescription; +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; +import lombok.ToString; - public String getNetworkDescription() { - return networkDescription; - } +@Getter +@Setter +@NoArgsConstructor +@ToString +public class Network { - public void setNetworkDescription(String networkDescription) { - this.networkDescription = networkDescription; - } + private String networkDescription; - @Override - public String toString() { - final StringBuilder sb = new StringBuilder("Network{"); - sb.append("networkDescription='").append(networkDescription).append('\''); - sb.append('}'); - return sb.toString(); - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/NicQuestionnaire.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/NicQuestionnaire.java index 0bc8b5df47..d41c85506e 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/NicQuestionnaire.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/NicQuestionnaire.java @@ -7,9 +7,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. @@ -20,44 +20,18 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.nic; -/** - * Created by TALIO on 11/21/2016. - */ +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor public class NicQuestionnaire { + private Protocols protocols; private IpConfiguration ipConfiguration; private Network network; private Sizing sizing; - public Protocols getProtocols() { - return protocols; - } - - public void setProtocols(Protocols protocols) { - this.protocols = protocols; - } - - public IpConfiguration getIpConfiguration() { - return ipConfiguration; - } - - public void setIpConfiguration(IpConfiguration ipConfiguration) { - this.ipConfiguration = ipConfiguration; - } - - public Network getNetwork() { - return network; - } - - public void setNetwork(Network network) { - this.network = network; - } - - public Sizing getSizing() { - return sizing; - } - - public void setSizing(Sizing sizing) { - this.sizing = sizing; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/PacketsAndBytes.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/PacketsAndBytes.java index 358620254c..9eddf3bf6c 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/PacketsAndBytes.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/PacketsAndBytes.java @@ -7,9 +7,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. @@ -20,26 +20,16 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.nic; -/** - * Created by TALIO on 11/22/2016. - */ +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor public class PacketsAndBytes { + private PeakAndAvg packets; private PeakAndAvg bytes; - public PeakAndAvg getPackets() { - return packets; - } - - public void setPackets(PeakAndAvg packets) { - this.packets = packets; - } - - public PeakAndAvg getBytes() { - return bytes; - } - - public void setBytes(PeakAndAvg bytes) { - this.bytes = bytes; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/PeakAndAvg.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/PeakAndAvg.java index 1e443277f4..6e50f3b29b 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/PeakAndAvg.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/PeakAndAvg.java @@ -7,9 +7,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. @@ -20,26 +20,16 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.nic; -/** - * Created by TALIO on 11/22/2016. - */ +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor public class PeakAndAvg { + private int peak; private Number avg; - public int getPeak() { - return peak; - } - - public void setPeak(int peak) { - this.peak = peak; - } - - public Number getAvg() { - return avg; - } - - public void setAvg(Number avg) { - this.avg = avg; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/Protocols.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/Protocols.java index 37b76bd451..f50d909fbb 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/Protocols.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/Protocols.java @@ -7,9 +7,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. @@ -22,37 +22,18 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.nic; import java.util.ArrayList; import java.util.List; - -/** - * Created by TALIO on 11/22/2016. - */ +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; +import lombok.ToString; + +@Getter +@Setter +@NoArgsConstructor +@ToString public class Protocols { + private List<String> protocols = new ArrayList<>(); private String protocolWithHighestTrafficProfile; - public List<String> getProtocols() { - return protocols; - } - - public void setProtocols(List<String> protocols) { - this.protocols = protocols; - } - - public String getProtocolWithHighestTrafficProfile() { - return protocolWithHighestTrafficProfile; - } - - public void setProtocolWithHighestTrafficProfile(String protocolWithHighestTrafficProfile) { - this.protocolWithHighestTrafficProfile = protocolWithHighestTrafficProfile; - } - - @Override - public String toString() { - final StringBuilder sb = new StringBuilder("Protocols{"); - sb.append("protocols=").append(protocols); - sb.append(", protocolWithHighestTrafficProfile='").append(protocolWithHighestTrafficProfile) - .append('\''); - sb.append('}'); - return sb.toString(); - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/Sizing.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/Sizing.java index 4160cba554..c77d25903d 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/Sizing.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/Sizing.java @@ -7,9 +7,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. @@ -20,10 +20,15 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.nic; -/** - * Created by TALIO on 11/22/2016 - */ +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor public class Sizing { + private String describeQualityOfService; private Number acceptablePacketLoss; private PacketsAndBytes inflowTrafficPerSecond; @@ -31,51 +36,4 @@ public class Sizing { private PacketsAndBytes flowLength; private AcceptableJitter acceptableJitter; - public String getDescribeQualityOfService() { - return describeQualityOfService; - } - - public void setDescribeQualityOfService(String describeQualityOfService) { - this.describeQualityOfService = describeQualityOfService; - } - - public Number getAcceptablePacketLoss() { - return acceptablePacketLoss; - } - - public void setAcceptablePacketLoss(Number acceptablePacketLoss) { - this.acceptablePacketLoss = acceptablePacketLoss; - } - - public PacketsAndBytes getInflowTrafficPerSecond() { - return inflowTrafficPerSecond; - } - - public void setInflowTrafficPerSecond(PacketsAndBytes inflowTrafficPerSecond) { - this.inflowTrafficPerSecond = inflowTrafficPerSecond; - } - - public PacketsAndBytes getOutflowTrafficPerSecond() { - return outflowTrafficPerSecond; - } - - public void setOutflowTrafficPerSecond(PacketsAndBytes outflowTrafficPerSecond) { - this.outflowTrafficPerSecond = outflowTrafficPerSecond; - } - - public PacketsAndBytes getFlowLength() { - return flowLength; - } - - public void setFlowLength(PacketsAndBytes flowLength) { - this.flowLength = flowLength; - } - - public AcceptableJitter getAcceptableJitter() { - return acceptableJitter; - } - - public void setAcceptableJitter(AcceptableJitter acceptableJitter) { - this.acceptableJitter = acceptableJitter; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/VspQuestionnaire.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/VspQuestionnaire.java index 0b53e04f0c..ab416d47d3 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/VspQuestionnaire.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/VspQuestionnaire.java @@ -7,9 +7,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. @@ -21,19 +21,16 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.vsp; +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; import org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.vsp.general.General; -/** - * Created by TALIO on 11/21/2016. - */ +@Getter +@Setter +@NoArgsConstructor public class VspQuestionnaire { - private General general; - public General getGeneral() { - return general; - } + private General general; - public void setGeneral(General general) { - this.general = general; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/Availability.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/Availability.java index 4f146466f8..1c457c546c 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/Availability.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/Availability.java @@ -7,9 +7,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. @@ -20,17 +20,15 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.vsp.general; -/** - * Created by TALIO on 11/21/2016. - */ +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor public class Availability { - private boolean useAvailabilityZonesForHighAvailability = false; - public boolean isUseAvailabilityZonesForHighAvailability() { - return useAvailabilityZonesForHighAvailability; - } + private boolean useAvailabilityZonesForHighAvailability; - public void setUseAvailabilityZonesForHighAvailability(boolean useAvailabilityZonesForHighAvailability) { - this.useAvailabilityZonesForHighAvailability = useAvailabilityZonesForHighAvailability; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/General.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/General.java index 566374f1f7..1aaba93f8e 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/General.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/General.java @@ -7,9 +7,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. @@ -20,9 +20,13 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.vsp.general; -/** - * Created by TALIO on 11/22/2016. - */ +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor public class General { private String affinityData; @@ -30,35 +34,4 @@ public class General { private RegionsData regionsData; private StorageDataReplication storageDataReplication; - public StorageDataReplication getStorageDataReplication() { - return storageDataReplication; - } - - public void setStorageDataReplication(StorageDataReplication storageDataReplication) { - this.storageDataReplication = storageDataReplication; - } - - public String getAffinityData() { - return affinityData; - } - - public void setAffinityData(String affinityData) { - this.affinityData = affinityData; - } - - public Availability getAvailability() { - return availability; - } - - public void setAvailability(Availability availability) { - this.availability = availability; - } - - public RegionsData getRegionsData() { - return regionsData; - } - - public void setRegionsData(RegionsData regionsData) { - this.regionsData = regionsData; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/RegionsData.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/RegionsData.java index efdcb46e89..093abcd652 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/RegionsData.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/RegionsData.java @@ -7,9 +7,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. @@ -22,27 +22,16 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.vsp.general; import java.util.ArrayList; import java.util.List; +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; -/** - * Created by TALIO on 11/21/2016. - */ +@Getter +@Setter +@NoArgsConstructor public class RegionsData { + private boolean multiRegion; private List<String> regions = new ArrayList<>(); - public boolean isMultiRegion() { - return multiRegion; - } - - public void setMultiRegion(boolean multiRegion) { - this.multiRegion = multiRegion; - } - - public List<String> getRegions() { - return regions; - } - - public void setRegions(List<String> regions) { - this.regions = regions; - } } diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/StorageDataReplication.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/StorageDataReplication.java index cf48703371..766b3bb1f9 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/StorageDataReplication.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/StorageDataReplication.java @@ -7,9 +7,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. @@ -20,53 +20,19 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.vsp.general; -/** - * Created by TALIO on 11/21/2016. - */ +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@Getter +@Setter +@NoArgsConstructor public class StorageDataReplication { + private boolean storageReplicationAcrossRegion; private Number storageReplicationSize; private Number storageReplicationFrequency; private String storageReplicationSource; private String storageReplicationDestination; - public String getStorageReplicationDestination() { - return storageReplicationDestination; - } - - public void setStorageReplicationDestination(String storageReplicationDestination) { - this.storageReplicationDestination = storageReplicationDestination; - } - - public Number getStorageReplicationSize() { - return storageReplicationSize; - } - - public void setStorageReplicationSize(Number storageReplicationSize) { - this.storageReplicationSize = storageReplicationSize; - } - - public Number getStorageReplicationFrequency() { - return storageReplicationFrequency; - } - - public void setStorageReplicationFrequency(Number storageReplicationFrequency) { - this.storageReplicationFrequency = storageReplicationFrequency; - } - - public String getStorageReplicationSource() { - return storageReplicationSource; - } - - public void setStorageReplicationSource(String storageReplicationSource) { - this.storageReplicationSource = storageReplicationSource; - } - - public boolean isStorageReplicationAcrossRegion() { - return storageReplicationAcrossRegion; - } - - public void setStorageReplicationAcrossRegion(boolean storageReplicationAcrossRegion) { - this.storageReplicationAcrossRegion = storageReplicationAcrossRegion; - } } |