Revision 523bd6bc
Added by Katja Luther over 2 years ago
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dto/SortableTaxonNodeQueryResult.java | ||
---|---|---|
20 | 20 |
|
21 | 21 |
protected UUID taxonNodeUuid; |
22 | 22 |
protected Integer taxonNodeId; |
23 |
protected String treeIndex; |
|
24 |
protected UUID taxonUuid; |
|
23 | 25 |
protected String taxonTitleCache; |
24 | 26 |
protected String nameTitleCache; |
25 | 27 |
protected Rank nameRank = Rank.UNKNOWN_RANK(); |
... | ... | |
31 | 33 |
* @param taxonTitleCache |
32 | 34 |
* @param nameRank {@link Rank.#UNKNOWN_RANK()} will be used in case this is <code>null</code> |
33 | 35 |
*/ |
34 |
public SortableTaxonNodeQueryResult(UUID taxonNodeUuid, Integer taxonNodeId, String taxonTitleCache, String nameTitleCache, |
|
36 |
public SortableTaxonNodeQueryResult(UUID taxonNodeUuid, Integer taxonNodeId, String treeIndex, UUID taxonUuid, String taxonTitleCache, String nameTitleCache,
|
|
35 | 37 |
Rank nameRank, UUID parentNodeUuid) { |
36 | 38 |
this.taxonNodeUuid = taxonNodeUuid; |
37 | 39 |
this.taxonNodeId = taxonNodeId; |
40 |
this.treeIndex = treeIndex; |
|
41 |
this.taxonUuid = taxonUuid; |
|
38 | 42 |
this.taxonTitleCache = taxonTitleCache; |
39 | 43 |
this.nameTitleCache = nameTitleCache; |
40 | 44 |
if(nameRank != null){ |
... | ... | |
49 | 53 |
* @param taxonTitleCache |
50 | 54 |
* @param nameRank {@link Rank.#UNKNOWN_RANK()} will be used in case this is <code>null</code> |
51 | 55 |
*/ |
52 |
public SortableTaxonNodeQueryResult(UUID taxonNodeUuid, Integer taxonNodeId, String taxonTitleCache, |
|
56 |
public SortableTaxonNodeQueryResult(UUID taxonNodeUuid, Integer taxonNodeId, String treeIndex, UUID taxonUuid, String taxonTitleCache,
|
|
53 | 57 |
Rank nameRank, UUID parentNodeUuid) { |
54 |
this(taxonNodeUuid, taxonNodeId, taxonTitleCache, null, nameRank, parentNodeUuid); |
|
58 |
this(taxonNodeUuid, taxonNodeId, treeIndex, taxonUuid, taxonTitleCache, null, nameRank, parentNodeUuid);
|
|
55 | 59 |
} |
56 | 60 |
|
57 | 61 |
|
62 |
public SortableTaxonNodeQueryResult(UUID taxonNodeUuid, Integer taxonNodeId, String treeIndex, UUID taxonUuid, String taxonTitleCache, |
|
63 |
Rank nameRank) { |
|
64 |
this(taxonNodeUuid, taxonNodeId, treeIndex, taxonUuid, taxonTitleCache, null, nameRank, null); |
|
65 |
} |
|
66 |
|
|
58 | 67 |
public SortableTaxonNodeQueryResult(UUID taxonNodeUuid, Integer taxonNodeId, String taxonTitleCache, |
59 | 68 |
Rank nameRank) { |
60 |
this(taxonNodeUuid, taxonNodeId, taxonTitleCache, null, nameRank, null); |
|
69 |
this(taxonNodeUuid, taxonNodeId, null, null, taxonTitleCache, null, nameRank, null); |
|
70 |
} |
|
71 |
public SortableTaxonNodeQueryResult(UUID taxonNodeUuid, Integer taxonNodeId, UUID taxonUuid, String taxonTitleCache, UUID parentNodeUuid) { |
|
72 |
this(taxonNodeUuid, taxonNodeId, null, taxonUuid, taxonTitleCache, null, parentNodeUuid); |
|
61 | 73 |
} |
62 | 74 |
public SortableTaxonNodeQueryResult(UUID taxonNodeUuid, Integer taxonNodeId, String taxonTitleCache, UUID parentNodeUuid) { |
63 |
this(taxonNodeUuid, taxonNodeId, taxonTitleCache, null, parentNodeUuid); |
|
75 |
this(taxonNodeUuid, taxonNodeId, null, null, taxonTitleCache, null, parentNodeUuid); |
|
76 |
} |
|
77 |
|
|
78 |
public SortableTaxonNodeQueryResult(UUID taxonNodeUuid, Integer taxonNodeId, UUID taxonUuid, String taxonTitleCache) { |
|
79 |
this(taxonNodeUuid, taxonNodeId, null, taxonUuid, taxonTitleCache, null, null); |
|
64 | 80 |
} |
65 | 81 |
public SortableTaxonNodeQueryResult(UUID taxonNodeUuid, Integer taxonNodeId, String taxonTitleCache) { |
66 |
this(taxonNodeUuid, taxonNodeId, taxonTitleCache, null, null); |
|
82 |
this(taxonNodeUuid, taxonNodeId, null, null, taxonTitleCache, null, null);
|
|
67 | 83 |
} |
68 | 84 |
|
69 | 85 |
public UUID getTaxonNodeUuid() { |
... | ... | |
72 | 88 |
public void setTaxonNodeUuid(UUID taxonNodeUuid) { |
73 | 89 |
this.taxonNodeUuid = taxonNodeUuid; |
74 | 90 |
} |
91 |
|
|
92 |
public String getTreeIndex() { |
|
93 |
return treeIndex; |
|
94 |
} |
|
95 |
public void setTreeIndex(String treeIndex) { |
|
96 |
this.treeIndex = treeIndex; |
|
97 |
} |
|
98 |
public UUID getTaxonUuid() { |
|
99 |
return taxonUuid; |
|
100 |
} |
|
101 |
public void setTaxonUuid(UUID taxonUuid) { |
|
102 |
this.taxonUuid = taxonUuid; |
|
103 |
} |
|
104 |
|
|
75 | 105 |
/** |
76 | 106 |
* @return the parentNodeUuid |
77 | 107 |
*/ |
Also available in: Unified diff
ref #9907: fix missing treeIndex in taxonNodeDto