/**
* @author andreabee90
- *
*/
public class NameMatchingParts {
- protected Integer taxonNameId;
+ private Integer taxonNameId;
- protected UUID taxonNameUuid;
+ private UUID taxonNameUuid;
- protected String titleCache;
+ private String titleCache;
- protected String authorshipCache;
+ private String authorshipCache;
- protected String genusOrUninomial;
+ private String genusOrUninomial;
- protected String infraGenericEpithet;
+ private String infraGenericEpithet;
- protected String specificEpithet;
+ private String specificEpithet;
- protected String infraSpecificEpithet;
+ private String infraSpecificEpithet;
+ private String nameCache;
//************ CONSTRUCTOR ***********************/
}
public NameMatchingParts(Integer taxonNameId, UUID taxonNameUuid, String titleCache, String authorshipCache,
- String genusOrUninomial, String infraGenericEpithet, String specificEpithet, String infraSpecificEpithet) {
- super();
+ String genusOrUninomial, String infraGenericEpithet, String specificEpithet, String infraSpecificEpithet, String nameCache) {
+
this.taxonNameId = taxonNameId;
this.taxonNameUuid = taxonNameUuid;
this.titleCache = titleCache;
this.infraGenericEpithet = infraGenericEpithet;
this.specificEpithet = specificEpithet;
this.infraSpecificEpithet = infraSpecificEpithet;
+ this.nameCache = nameCache;
}
//***************** GETTER / SETTER ********************************/
this.infraSpecificEpithet = infraSpecificEpithet;
}
+ public String getNameCache() {
+ return nameCache;
+ }
+
+ public void setNameCache(String nameCache) {
+ this.nameCache = nameCache;
+ }
+
// ************************** TO STRING *************************************/
@Override
public String toString() {
return "NameMatchingParts [taxonNameId=" + taxonNameId + ", genusOrUninomial=" + genusOrUninomial
+ ", infraGenericEpithet=" + infraGenericEpithet + ", specificEpithet=" + specificEpithet
- + ", infraSpecificEpithet=" + infraSpecificEpithet + "]";
+ + ", infraSpecificEpithet=" + infraSpecificEpithet + ", nameCache=" + nameCache + "]";
}
}
\ No newline at end of file