Replaced all tabs with spaces in java and pom.xml
[so.git] / bpmn / MSOCoreBPMN / src / main / java / org / onap / so / bpmn / core / domain / ModuleResource.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
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
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
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=========================================================
19  */
20
21 package org.onap.so.bpmn.core.domain;
22
23 import com.fasterxml.jackson.annotation.JsonRootName;
24
25 @JsonRootName("vfModule")
26 public class ModuleResource extends Resource {
27
28     private static final long serialVersionUID = 1L;
29
30     /*
31      * set resourceType for this object
32      */
33     public ModuleResource() {
34         resourceType = ResourceType.MODULE;
35     }
36
37     /*
38      * fields specific to VF Module resource type
39      */
40     private String vfModuleName;
41     private String vfModuleType;
42     private String heatStackId;
43     private boolean hasVolumeGroup;
44     private boolean isBase;
45     private String vfModuleLabel;
46     private int initialCount;
47
48     /*
49      * GET && SET
50      */
51     public String getVfModuleName() {
52         return vfModuleName;
53     }
54
55     public void setVfModuleName(String vfModuleName) {
56         this.vfModuleName = vfModuleName;
57     }
58
59     public String getHeatStackId() {
60         return heatStackId;
61     }
62
63     public void setHeatStackId(String heatStackId) {
64         this.heatStackId = heatStackId;
65     }
66
67     public boolean getIsBase() {
68         return isBase;
69     }
70
71     public void setIsBase(boolean isBase) {
72         this.isBase = isBase;
73     }
74
75     public String getVfModuleLabel() {
76         return vfModuleLabel;
77     }
78
79     public void setVfModuleLabel(String vfModuleLabel) {
80         this.vfModuleLabel = vfModuleLabel;
81     }
82
83     public int getInitialCount() {
84         return initialCount;
85     }
86
87     public void setInitialCount(int initialCount) {
88         this.initialCount = initialCount;
89     }
90
91     public String getVfModuleType() {
92         return vfModuleType;
93     }
94
95     public void setVfModuleType(String vfModuleType) {
96         this.vfModuleType = vfModuleType;
97     }
98
99     public boolean isHasVolumeGroup() {
100         return hasVolumeGroup;
101     }
102
103     public void setHasVolumeGroup(boolean hasVolumeGroup) {
104         this.hasVolumeGroup = hasVolumeGroup;
105     }
106
107 }