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 vfModuleType;
\r
41 private boolean hasVolumeGroup;
\r
42 private boolean isBase;
\r
43 private String vfModuleLabel;
\r
44 private int initialCount;
\r
49 public boolean getIsBase() {
\r
52 public void setIsBase(boolean isBase) {
\r
53 this.isBase = isBase;
\r
55 public String getVfModuleLabel() {
\r
56 return vfModuleLabel;
\r
58 public void setVfModuleLabel(String vfModuleLabel) {
\r
59 this.vfModuleLabel = vfModuleLabel;
\r
61 public int getInitialCount() {
\r
62 return initialCount;
\r
64 public void setInitialCount(int initialCount) {
\r
65 this.initialCount = initialCount;
\r
67 public String getVfModuleType() {
\r
68 return vfModuleType;
\r
70 public void setVfModuleType(String vfModuleType) {
\r
71 this.vfModuleType = vfModuleType;
\r
73 public boolean isHasVolumeGroup() {
\r
74 return hasVolumeGroup;
\r
76 public void setHasVolumeGroup(boolean hasVolumeGroup) {
\r
77 this.hasVolumeGroup = hasVolumeGroup;
\r