blob: e0a038a8ff05f0d28180a650f5b264be065b61d6 (
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
43
44
45
46
47
48
49
|
package org.onap.sdc.dcae.composition.restmodels;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.onap.sdc.dcae.composition.restmodels.sdc.ResourceDetailed;
@JsonInclude(JsonInclude.Include.NON_NULL)
public class VfcmtData extends MonitoringComponent {
private String flowType;
private String serviceUuid;
public VfcmtData(ResourceDetailed vfcmt) {
setUuid(vfcmt.getUuid());
setName(vfcmt.getName());
setDescription(vfcmt.getDescription());
}
public VfcmtData(ResourceDetailed vfcmt, String vfiName, String flowType) {
this(vfcmt);
setVfiName(vfiName);
setFlowType(flowType);
}
public VfcmtData(ResourceDetailed vfcmt, String vfiName, String flowType, String serviceUuid) {
this(vfcmt, vfiName, flowType);
setInvariantUUID(vfcmt.getInvariantUUID());
setLifecycleState(vfcmt.getLifecycleState());
setServiceUuid(serviceUuid);
}
VfcmtData(){}
public String getFlowType() {
return flowType;
}
public void setFlowType(String flowType) {
this.flowType = flowType;
}
public String getServiceUuid() {
return serviceUuid;
}
public void setServiceUuid(String serviceUuid) {
this.serviceUuid = serviceUuid;
}
}
|