Merge "Reorder modifiers"
[so.git] / bpmn / MSOCoreBPMN / src / main / java / org / openecomp / mso / bpmn / core / domain / ModuleResource.java
1 /*-\r
2  * ============LICENSE_START=======================================================\r
3  * ONAP - SO\r
4  * ================================================================================\r
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.\r
6  * ================================================================================\r
7  * Licensed under the Apache License, Version 2.0 (the "License");\r
8  * you may not use this file except in compliance with the License.\r
9  * You may obtain a copy of the License at\r
10  *\r
11  *      http://www.apache.org/licenses/LICENSE-2.0\r
12  *\r
13  * Unless required by applicable law or agreed to in writing, software\r
14  * distributed under the License is distributed on an "AS IS" BASIS,\r
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16  * See the License for the specific language governing permissions and\r
17  * limitations under the License.\r
18  * ============LICENSE_END=========================================================\r
19  */\r
20 \r
21 package org.openecomp.mso.bpmn.core.domain;\r
22 \r
23 import com.fasterxml.jackson.annotation.JsonRootName;\r
24 \r
25 @JsonRootName("vfModule")\r
26 public class ModuleResource  extends Resource {\r
27 \r
28         private static final long serialVersionUID = 1L;\r
29 \r
30         /*\r
31          * set resourceType for this object\r
32          */\r
33         public ModuleResource(){\r
34                 resourceType = ResourceType.MODULE;\r
35         }\r
36 \r
37         /*\r
38          * fields specific to VF Module resource type\r
39          */\r
40         private String vfModuleName;\r
41         private String vfModuleType;\r
42         private String heatStackId;\r
43         private boolean hasVolumeGroup;\r
44         private boolean isBase;\r
45         private String vfModuleLabel;\r
46         private int initialCount;\r
47 \r
48         /*\r
49          * GET && SET\r
50          */\r
51         public String getVfModuleName() {\r
52                 return vfModuleName;\r
53         }\r
54         public void setVfModuleName(String vfModuleName) {\r
55                 this.vfModuleName = vfModuleName;\r
56         }\r
57         public String getHeatStackId() {\r
58                 return heatStackId;\r
59         }\r
60         public void setHeatStackId(String heatStackId) {\r
61                 this.heatStackId = heatStackId;\r
62         }\r
63         public boolean getIsBase() {\r
64                 return isBase;\r
65         }\r
66         public void setIsBase(boolean isBase) {\r
67                 this.isBase = isBase;\r
68         }\r
69         public String getVfModuleLabel() {\r
70                 return vfModuleLabel;\r
71         }\r
72         public void setVfModuleLabel(String vfModuleLabel) {\r
73                 this.vfModuleLabel = vfModuleLabel;\r
74         }\r
75         public int getInitialCount() {\r
76                 return initialCount;\r
77         }\r
78         public void setInitialCount(int initialCount) {\r
79                 this.initialCount = initialCount;\r
80         }\r
81         public String getVfModuleType() {\r
82                 return vfModuleType;\r
83         }\r
84         public void setVfModuleType(String vfModuleType) {\r
85                 this.vfModuleType = vfModuleType;\r
86         }\r
87         public boolean isHasVolumeGroup() {\r
88                 return hasVolumeGroup;\r
89         }\r
90         public void setHasVolumeGroup(boolean hasVolumeGroup) {\r
91                 this.hasVolumeGroup = hasVolumeGroup;\r
92         }\r
93 \r
94 }