Revision 841d2453
Added by Andreas Müller almost 3 years ago
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dto/UuidAndTitleCache.java | ||
---|---|---|
71 | 71 |
this( uuid, null, titleCache); |
72 | 72 |
} |
73 | 73 |
|
74 |
// ******************* GETTER / SETTER **********************/ |
|
74 | 75 |
|
75 | 76 |
public String getTitleCache() { |
76 | 77 |
return titleCache; |
77 | 78 |
} |
78 |
|
|
79 |
public void setTitleCache(String titleCache) { |
|
80 |
this.titleCache = titleCache; |
|
81 |
} |
|
79 | 82 |
|
80 | 83 |
public String getAbbrevTitleCache() { |
81 | 84 |
return abbrevTitleCache; |
82 | 85 |
} |
86 |
public void setAbbrevTitleCache(String abbrevTitleCache) { |
|
87 |
this.abbrevTitleCache = abbrevTitleCache; |
|
88 |
} |
|
83 | 89 |
|
90 |
public boolean isProtectedTitleCache() { |
|
91 |
return isProtectedTitleCache; |
|
92 |
} |
|
93 |
public void setProtectedTitleCache(boolean isProtectedTitleCache) { |
|
94 |
this.isProtectedTitleCache = isProtectedTitleCache; |
|
95 |
} |
|
84 | 96 |
|
85 | 97 |
public UUID getUuid() { |
86 | 98 |
return uuid; |
... | ... | |
98 | 110 |
return this.isOrphaned; |
99 | 111 |
} |
100 | 112 |
|
101 |
public void setAbbrevTitleCache(String abbrevTitleCache) { |
|
102 |
this.abbrevTitleCache = abbrevTitleCache; |
|
103 |
} |
|
104 |
public void setTitleCache(String titleCache) { |
|
105 |
this.titleCache = titleCache; |
|
106 |
} |
|
107 |
|
|
108 | 113 |
public void setType(Class<T> type) { |
109 | 114 |
this.type = type; |
110 | 115 |
} |
111 | 116 |
|
112 | 117 |
//************************** toString **********************************/ |
113 | 118 |
|
114 |
public boolean isProtectedTitleCache() { |
|
115 |
return isProtectedTitleCache; |
|
116 |
} |
|
117 |
public void setProtectedTitleCache(boolean isProtectedTitleCache) { |
|
118 |
this.isProtectedTitleCache = isProtectedTitleCache; |
|
119 |
} |
|
120 | 119 |
@Override |
121 | 120 |
public String toString() { |
122 | 121 |
return "UuidAndTitleCache [type= " + type + ", uuid= " + uuid + ", id=" + id + ", titleCache= " + getTitleCache() |
123 | 122 |
+ ", isOrphaned=" + isOrphaned + ", abbrevTitleCache= " + abbrevTitleCache +"]"; |
124 | 123 |
} |
125 |
|
|
126 |
|
|
127 |
} |
|
124 |
} |
Also available in: Unified diff
cleanup