1
|
/**
|
2
|
* Copyright (C) 2009 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
6
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8
|
*/
|
9
|
package eu.etaxonomy.cdm.remote.dto.polytomouskey;
|
10
|
|
11
|
import java.util.List;
|
12
|
import java.util.UUID;
|
13
|
|
14
|
import eu.etaxonomy.cdm.model.description.Feature;
|
15
|
import eu.etaxonomy.cdm.model.description.KeyStatement;
|
16
|
|
17
|
/**
|
18
|
*
|
19
|
* A row to display each PolytomousKeyNode in a flat data structure for a LinkedStyle display of the PolytomousKey
|
20
|
* @author l.morris
|
21
|
* @since Jan 25, 2013
|
22
|
*
|
23
|
*/
|
24
|
public class LinkedPolytomousKeyNodeRowDto {
|
25
|
|
26
|
private UUID nodeUuid;//or should we use the entire polytomous key node?
|
27
|
private KeyStatement rowQuestion;
|
28
|
private Integer nodeNumber = null;
|
29
|
private Integer edgeNumber = null;
|
30
|
private Feature rowFeature;
|
31
|
private String childStatement;
|
32
|
private List<AbstractLinkDto> links;
|
33
|
|
34
|
|
35
|
public LinkedPolytomousKeyNodeRowDto() {
|
36
|
}
|
37
|
|
38
|
|
39
|
/**
|
40
|
* @return the keyNodeUuid
|
41
|
*/
|
42
|
public UUID getKeyNodeUuid() {
|
43
|
return nodeUuid;
|
44
|
}
|
45
|
|
46
|
|
47
|
/**
|
48
|
* @param keyNodeUuid the keyNodeUuid to set
|
49
|
*/
|
50
|
public void setKeyNodeUuid(UUID keyNodeUuid) {
|
51
|
this.nodeUuid = keyNodeUuid;
|
52
|
}
|
53
|
|
54
|
/**
|
55
|
* @return the RowQuestion
|
56
|
*/
|
57
|
public KeyStatement getRowQuestion() {
|
58
|
return rowQuestion;
|
59
|
}
|
60
|
/**
|
61
|
* @param RowQuestion the RowQuestion to set
|
62
|
*/
|
63
|
public void setRowQuestion(KeyStatement RowQuestion) {
|
64
|
this.rowQuestion = RowQuestion;
|
65
|
}
|
66
|
/**
|
67
|
* @return the nodeNumber
|
68
|
*/
|
69
|
public Integer getNodeNumber() {
|
70
|
return nodeNumber;
|
71
|
}
|
72
|
/**
|
73
|
* @param nodeNumber the nodeNumber to set
|
74
|
*/
|
75
|
public void setNodeNumber(Integer nodeNumber) {
|
76
|
this.nodeNumber = nodeNumber;
|
77
|
}
|
78
|
/**
|
79
|
* @return the edgeNumber
|
80
|
*/
|
81
|
public Integer getEdgeNumber() {
|
82
|
return edgeNumber;
|
83
|
}
|
84
|
/**
|
85
|
* @param edgeNumber the edgeNumber to set
|
86
|
*/
|
87
|
public void setEdgeNumber(Integer edgeNumber) {
|
88
|
this.edgeNumber = edgeNumber;
|
89
|
}
|
90
|
/**
|
91
|
* @return the RowFeature
|
92
|
*/
|
93
|
public Feature getRowFeature() {
|
94
|
return rowFeature;
|
95
|
}
|
96
|
/**
|
97
|
* @param RowFeature the RowFeature to set
|
98
|
*/
|
99
|
public void setRowFeature(Feature RowFeature) {
|
100
|
this.rowFeature = RowFeature;
|
101
|
}
|
102
|
/**
|
103
|
* @return the childStatement
|
104
|
*/
|
105
|
public String getChildStatement() {
|
106
|
return childStatement;
|
107
|
}
|
108
|
/**
|
109
|
* @param childStatement the childStatement to set
|
110
|
*/
|
111
|
public void setChildStatement(String childStatement) {
|
112
|
this.childStatement = childStatement;
|
113
|
}
|
114
|
/**
|
115
|
* @return the links
|
116
|
*/
|
117
|
public List<AbstractLinkDto> getLinks() {
|
118
|
return links;
|
119
|
}
|
120
|
/**
|
121
|
* @param links the links to set
|
122
|
*/
|
123
|
public void setLinks(List<AbstractLinkDto> links) {
|
124
|
this.links = links;
|
125
|
}
|
126
|
|
127
|
|
128
|
|
129
|
}
|