76 lines
2.1 KiB
Java
76 lines
2.1 KiB
Java
package org.gcube.portlets.user.geoportaldataentry.client.ui.card;
|
|
|
|
import org.gcube.application.geoportalcommon.shared.geoportalconfig.GcubeProfileDV;
|
|
import org.gcube.portlets.user.geoportaldataentry.client.ProjectFormCard;
|
|
import org.gcube.portlets.widgets.mpformbuilder.client.form.generic.CreateMetadataForm;
|
|
import org.gcube.portlets.widgets.mpformbuilder.shared.metadata.MetaDataProfileBean;
|
|
|
|
public class GeoNaFormCardModel {
|
|
|
|
private MetaDataProfileBean metadataProfileBean;
|
|
private CreateMetadataForm metadataForm;
|
|
private ProjectFormCard formCard; // matching with metadata profile
|
|
private GcubeProfileDV gcubeProfile;
|
|
|
|
public GeoNaFormCardModel() {
|
|
|
|
}
|
|
|
|
public GeoNaFormCardModel(MetaDataProfileBean metadataProfileBean, CreateMetadataForm metadataForm,
|
|
ProjectFormCard formCard, GcubeProfileDV gcubeProfile) {
|
|
super();
|
|
this.metadataProfileBean = metadataProfileBean;
|
|
this.metadataForm = metadataForm;
|
|
this.formCard = formCard;
|
|
this.gcubeProfile = gcubeProfile;
|
|
}
|
|
|
|
public MetaDataProfileBean getMetadataProfileBean() {
|
|
return metadataProfileBean;
|
|
}
|
|
|
|
public void setMetadataProfileBean(MetaDataProfileBean metadataProfileBean) {
|
|
this.metadataProfileBean = metadataProfileBean;
|
|
}
|
|
|
|
public CreateMetadataForm getMetadataForm() {
|
|
return metadataForm;
|
|
}
|
|
|
|
public void setMetadataForm(CreateMetadataForm metadataForm) {
|
|
this.metadataForm = metadataForm;
|
|
}
|
|
|
|
public ProjectFormCard getFormCard() {
|
|
return formCard;
|
|
}
|
|
|
|
public void setFormCard(ProjectFormCard formCard) {
|
|
this.formCard = formCard;
|
|
}
|
|
|
|
public GcubeProfileDV getGcubeProfile() {
|
|
return gcubeProfile;
|
|
}
|
|
|
|
public void setGcubeProfile(GcubeProfileDV gcubeProfile) {
|
|
this.gcubeProfile = gcubeProfile;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
StringBuilder builder = new StringBuilder();
|
|
builder.append("GeoNaFormCardModel [metadataProfileBean=");
|
|
builder.append(metadataProfileBean);
|
|
builder.append(", metadataForm=");
|
|
builder.append(metadataForm);
|
|
builder.append(", formCard=");
|
|
builder.append(formCard);
|
|
builder.append(", gcubeProfile=");
|
|
builder.append(gcubeProfile);
|
|
builder.append("]");
|
|
return builder.toString();
|
|
}
|
|
|
|
}
|