Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 2 → Rev 3

/it-ru/trunk/src/ak/itru/core/form/EventActBean.java
0,0 → 1,53
package ak.itru.core.form;
 
import ak.itru.util.StringConverter;
import ak.itru.core.model.EventAct;
import ak.itru.core.model.Act;
 
public final class EventActBean
{
private String actId;
private String comment;
private Boolean selected;
 
public EventActBean()
{
}
 
public EventActBean(Act act, EventAct 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;
}
}