Project

General

Profile

« Previous | Next » 

Revision 56746

View differences:

Type.java
20 20

  
21 21
	@Id
22 22
	@Column(name = "id")
23
	private String docId;
23
	private String orgId;
24 24

  
25 25
	@Id
26 26
	@Column(name = "type")
27 27
	private String type;
28 28

  
29
	public String getDocId() {
30
		return docId;
29
	public Type() {}
30

  
31
	public Type(final String orgId, final String type) {
32
		this.orgId = orgId;
33
		this.type = type;
31 34
	}
32 35

  
33
	public void setDocId(final String docId) {
34
		this.docId = docId;
36
	public String getOrgId() {
37
		return orgId;
35 38
	}
36 39

  
40
	public void setOrgId(final String orgId) {
41
		this.orgId = orgId;
42
	}
43

  
37 44
	public String getType() {
38 45
		return type;
39 46
	}

Also available in: Unified diff