lastTextModification = new Date(); this.name = name; upperCaseName = name.toUpperCase(); this.summary = summary; this.text = text;
returnReturns the id. return id;
return id;
return lastTextModification;
returnReturns the name. return name;
return name;
returnReturns the summary. return summary;
return summary;
returnReturns the text. return text;
return text;
returnReturns the upperCaseName. return upperCaseName;
return upperCaseName;
paramid The id to set. this.id = id;
this.id = id;
paramname The name to set. this.name = name;
this.name = name;
paramsummary The summary to set. this.summary = summary;
this.summary = summary;
paramtext The text to set. this.text = text;
this.text = text;
paramupperCaseName The upperCaseName to set. this.upperCaseName = upperCaseName;
this.upperCaseName = upperCaseName;
if ( !newText.equals(text) ) { this.text = newText; lastTextModification = new Date(); }