aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/decomposition/NetworkResource.java
blob: 16d1010633eb307f644f5f5c36ea9cf361c0926e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package org.openecomp.mso.bpmn.core.decomposition;

import org.codehaus.jackson.map.annotate.JsonRootName;


/**
 * Encapsulates Network resource data set
 * @author
 *
 */
@JsonRootName("networkResource")
public class NetworkResource extends ResourceDecomposition {

	private static final long serialVersionUID = 1L;
	/*
	 * set resourceType for this object
	 */
	public NetworkResource(){
		resourceType = "networkResource";
	}
	/*
	 * fields specific to VNF resource type
	 */
	private String networkType;
	private String networkRole;
	
	/*
	 * GET and SET
	 */
	public String getNetworkType() {
		return networkType;
	}
	public void setNetworkType(String networkType) {
		this.networkType = networkType;
	}
	public String getNetworkRole() {
		return networkRole;
	}
	public void setNetworkRole(String networkRole) {
		this.networkRole = networkRole;
	}
}