Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 13 → Rev 27

/kickup/trunk/src/ak/kickup/core/form/ParticipantActBean.java
0,0 → 1,53
package ak.kickup.core.form;
 
import ak.kickup.util.StringConverter;
import ak.kickup.core.model.ParticipantAct;
import ak.kickup.core.model.Act;
 
public final class ParticipantActBean
{
private String actId;
private String comment;
private Boolean selected;
 
public ParticipantActBean()
{
}
 
public ParticipantActBean(Act act, ParticipantAct info)
{
this.actId = StringConverter.toString(act.getId());
this.comment = (info == null) ? null : info.getComment();
this.selected = Boolean.valueOf(info != null);
}
 
public String getActId()
{
return actId;
}
 
public void setActId(String actId)
{
this.actId = actId;
}
 
public String getComment()
{
return comment;
}
 
public void setComment(String comment)
{
this.comment = comment;
}
 
public Boolean getSelected()
{
return selected;
}
 
public void setSelected(Boolean selected)
{
this.selected = selected;
}
}