forked from nsquare-jdzone/java-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDocument.java
More file actions
79 lines (62 loc) · 1.72 KB
/
Document.java
File metadata and controls
79 lines (62 loc) · 1.72 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
package com.javadeveloperzone;
import java.util.List;
public class Document {
int documentId,parentDocId;
String docType,docAuthor,docTitle;
boolean isParent;
List<String> docLanguage;
public int getDocumentId() {
return documentId;
}
@Override
public String toString() {
return "Document{" +
"documentId=" + documentId +
", parentDocId=" + parentDocId +
", docType='" + docType + '\'' +
", docAuthor='" + docAuthor + '\'' +
", docTitle='" + docTitle + '\'' +
", isParent=" + isParent +
", docLanguage=" + docLanguage +
'}';
}
public void setDocumentId(int documentId) {
this.documentId = documentId;
}
public int getParentDocId() {
return parentDocId;
}
public void setParentDocId(int parentDocId) {
this.parentDocId = parentDocId;
}
public String getDocType() {
return docType;
}
public void setDocType(String docType) {
this.docType = docType;
}
public String getDocAuthor() {
return docAuthor;
}
public void setDocAuthor(String docAuthor) {
this.docAuthor = docAuthor;
}
public String getDocTitle() {
return docTitle;
}
public void setDocTitle(String docTitle) {
this.docTitle = docTitle;
}
public boolean isParent() {
return isParent;
}
public void setParent(boolean parent) {
isParent = parent;
}
public List<String> getDocLanguage() {
return docLanguage;
}
public void setDocLanguage(List<String> docLanguage) {
this.docLanguage = docLanguage;
}
}