/kickup/tags/release-1.0/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; |
} |
} |
/kickup/tags/release-1.0/src/ak/kickup/core/form/EventActBean.java |
---|
0,0 → 1,53 |
package ak.kickup.core.form; |
import ak.kickup.util.StringConverter; |
import ak.kickup.core.model.EventAct; |
import ak.kickup.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; |
} |
} |
/kickup/tags/release-1.0/src/ak/kickup/core/form/EventApartmentBean.java |
---|
0,0 → 1,65 |
package ak.kickup.core.form; |
import ak.kickup.util.StringConverter; |
import ak.kickup.core.model.EventApartment; |
import ak.kickup.core.model.Apartment; |
public final class EventApartmentBean |
{ |
private String apartmentId; |
private String distance; |
private String comment; |
private Boolean selected; |
public EventApartmentBean() |
{ |
} |
public EventApartmentBean(Apartment apartment, EventApartment info) |
{ |
this.apartmentId = StringConverter.toString(apartment.getId()); |
this.distance = (info == null) ? null : StringConverter.toNumber(info.getDistance()); |
this.comment = (info == null) ? null : info.getComment(); |
this.selected = Boolean.valueOf(info != null); |
} |
public String getApartmentId() |
{ |
return apartmentId; |
} |
public void setApartmentId(String apartmentId) |
{ |
this.apartmentId = apartmentId; |
} |
public String getDistance() |
{ |
return distance; |
} |
public void setDistance(String distance) |
{ |
this.distance = distance; |
} |
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; |
} |
} |