2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.so.bpmn.core.domain;
23 import com.fasterxml.jackson.annotation.JsonRootName;
25 @JsonRootName("vfModule")
26 public class ModuleResource extends Resource {
28 private static final long serialVersionUID = 1L;
31 * set resourceType for this object
33 public ModuleResource() {
34 resourceType = ResourceType.MODULE;
38 * fields specific to VF Module resource type
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;
51 public String getVfModuleName() {
55 public void setVfModuleName(String vfModuleName) {
56 this.vfModuleName = vfModuleName;
59 public String getHeatStackId() {
63 public void setHeatStackId(String heatStackId) {
64 this.heatStackId = heatStackId;
67 public boolean getIsBase() {
71 public void setIsBase(boolean isBase) {
75 public String getVfModuleLabel() {
79 public void setVfModuleLabel(String vfModuleLabel) {
80 this.vfModuleLabel = vfModuleLabel;
83 public int getInitialCount() {
87 public void setInitialCount(int initialCount) {
88 this.initialCount = initialCount;
91 public String getVfModuleType() {
95 public void setVfModuleType(String vfModuleType) {
96 this.vfModuleType = vfModuleType;
99 public boolean isHasVolumeGroup() {
100 return hasVolumeGroup;
103 public void setHasVolumeGroup(boolean hasVolumeGroup) {
104 this.hasVolumeGroup = hasVolumeGroup;