
com.publicobject.issuesbrowser.Description Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of glazedlists Show documentation
Show all versions of glazedlists Show documentation
Event-driven lists for dynamically filtered and sorted tables
The newest version!
/* Glazed Lists (c) 2003-2006 */
/* http://publicobject.com/glazedlists/ publicobject.com,*/
/* O'Dell Engineering Ltd.*/
package com.publicobject.issuesbrowser;
// GlazedLists
import ca.odell.glazedlists.TextFilterable;
import java.util.Date;
import java.util.List;
/**
* Models the description of a particular Issue.
*
* @author Jesse Wilson
*/
public class Description implements TextFilterable {
private String who;
private Date when;
private String text;
/**
* Email of person posting long_desc.
*/
public String getWho() {
return who;
}
public void setWho(String who) {
this.who = who;
}
/**
* Timestamp when long_desc added ('yyy-mm-dd hh:mm')
*/
public Date getWhen() {
return when;
}
public void setWhen(Date when) {
this.when = when;
}
/**
* Free text that comprises the long desc.
*/
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
/**
* Gets the strings to filter this issue by.
*/
@Override
public void getFilterStrings(List baseList) {
baseList.add(text);
baseList.add(who);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy