
de.twenty11.skysail.common.responses.EntityDetailsResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of skysail.common Show documentation
Show all versions of skysail.common Show documentation
common for both server and client skysail code
The newest version!
package de.twenty11.skysail.common.responses;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import de.twenty11.skysail.common.forms.Field;
/**
* A last type of Response is the FormResponse: You'd get it in case of an HTML - Request whenever you want to add an
* entity or to display an existing one which you'd want to change.
*/
public class EntityDetailsResponse extends SkysailResponse>> {
private final String target;
private final Object entity;
public EntityDetailsResponse(Object entity) {
this(entity, null);
}
public EntityDetailsResponse(Object entity, String target) {
this.entity = entity;
this.target = target;
setMessage("web form");
setFields();
}
public String getTarget() {
return target;
}
public Object getEntity() {
return entity;
}
private void setFields() {
List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy