aboutsummaryrefslogtreecommitdiffstats
path: root/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/api/models/NRCellCU.java
blob: a00f88e7f01b27c5f9ccd740ac91468390fb330d (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
50
51
52
53
54
55
56
57
58
package org.onap.ransim.rest.api.models;

import java.io.Serializable;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.CollectionTable;
import javax.persistence.Column;
import javax.persistence.ElementCollection;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Table;

@Entity
@Table(name="NRCELLCU")
public class NRCellCU implements Serializable{
	private static final long serialVersionUID = 1L;
	@Id
	@Column(name="CELLLOCALID")
	private Integer cellLocalId;
	@Column(name="RESOURCETYPE")
	private String resourceType;
	@ElementCollection(fetch = FetchType.EAGER)
	@CollectionTable(name="PLMNINFO",joinColumns = @JoinColumn(name="nrcellcu_celllocalid"))
	private List<PLMNInfo> pLMNInfoList;
	@ManyToOne
	@JoinColumn(name = "gnbcuname")
	private GNBCUCPFunction gNBCUCPFunction;
	
	public Integer getCellLocalId() {
		return cellLocalId;
	}
	public void setCellLocalId(Integer cellLocalId) {
		this.cellLocalId = cellLocalId;
	}
	public List<PLMNInfo> getpLMNInfoList() {
		return pLMNInfoList;
	}
	public void setpLMNInfoList(List<PLMNInfo> pLMNInfoList) {
		this.pLMNInfoList = pLMNInfoList;
	}	
	public GNBCUCPFunction getgNBCUCPFunction() {
		return gNBCUCPFunction;
	}
	public void setgNBCUCPFunction(GNBCUCPFunction gNBCUCPFunction) {
		this.gNBCUCPFunction = gNBCUCPFunction;
	}
	public String getResourceType() {
		return resourceType;
	}
	public void setResourceType(String resourceType) {
		this.resourceType = resourceType;
	}
	
}