2 * ============LICENSE_START=======================================================
\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
11 * http://www.apache.org/licenses/LICENSE-2.0
\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
21 package org.openecomp.mso.bpmn.core.domain;
\r
23 import com.fasterxml.jackson.annotation.JsonRootName;
\r
25 @JsonRootName("vfModule")
\r
26 public class ModuleResource extends Resource {
\r
28 private static final long serialVersionUID = 1L;
\r
31 * set resourceType for this object
\r
33 public ModuleResource(){
\r
34 resourceType = ResourceType.MODULE;
\r
38 * fields specific to VF Module resource type
\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
51 public String getVfModuleName() {
\r
52 return vfModuleName;
\r
54 public void setVfModuleName(String vfModuleName) {
\r
55 this.vfModuleName = vfModuleName;
\r
57 public String getHeatStackId() {
\r
60 public void setHeatStackId(String heatStackId) {
\r
61 this.heatStackId = heatStackId;
\r
63 public boolean getIsBase() {
\r
66 public void setIsBase(boolean isBase) {
\r
67 this.isBase = isBase;
\r
69 public String getVfModuleLabel() {
\r
70 return vfModuleLabel;
\r
72 public void setVfModuleLabel(String vfModuleLabel) {
\r
73 this.vfModuleLabel = vfModuleLabel;
\r
75 public int getInitialCount() {
\r
76 return initialCount;
\r
78 public void setInitialCount(int initialCount) {
\r
79 this.initialCount = initialCount;
\r
81 public String getVfModuleType() {
\r
82 return vfModuleType;
\r
84 public void setVfModuleType(String vfModuleType) {
\r
85 this.vfModuleType = vfModuleType;
\r
87 public boolean isHasVolumeGroup() {
\r
88 return hasVolumeGroup;
\r
90 public void setHasVolumeGroup(boolean hasVolumeGroup) {
\r
91 this.hasVolumeGroup = hasVolumeGroup;
\r