115 lines
2.3 KiB
Java
115 lines
2.3 KiB
Java
package org.gcube.application.geoportalcommon.shared.geoportal;
|
|
|
|
import java.io.Serializable;
|
|
import java.util.List;
|
|
|
|
public class UseCaseDescriptorDV implements Serializable {
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private static final long serialVersionUID = -2864888245002804887L;
|
|
private String id;
|
|
private String version;
|
|
private String name;
|
|
private String description;
|
|
|
|
private String fieldType;
|
|
private String fieldLabel;
|
|
|
|
private List<HandlerDeclarationDV> handlers;
|
|
|
|
UseCaseDescriptorDV() {
|
|
}
|
|
|
|
public UseCaseDescriptorDV(String id, String version, String name, String description, String fieldType,
|
|
String fieldLabel, List<HandlerDeclarationDV> handlers) {
|
|
super();
|
|
this.id = id;
|
|
this.version = version;
|
|
this.name = name;
|
|
this.description = description;
|
|
this.fieldType = fieldType;
|
|
this.fieldLabel = fieldLabel;
|
|
this.handlers = handlers;
|
|
}
|
|
|
|
public String getId() {
|
|
return id;
|
|
}
|
|
|
|
public String getVersion() {
|
|
return version;
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public String getDescription() {
|
|
return description;
|
|
}
|
|
|
|
public String getFieldType() {
|
|
return fieldType;
|
|
}
|
|
|
|
public String getFieldLabel() {
|
|
return fieldLabel;
|
|
}
|
|
|
|
public List<HandlerDeclarationDV> getHandlers() {
|
|
return handlers;
|
|
}
|
|
|
|
public void setId(String id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public void setVersion(String version) {
|
|
this.version = version;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public void setDescription(String description) {
|
|
this.description = description;
|
|
}
|
|
|
|
public void setFieldType(String fieldType) {
|
|
this.fieldType = fieldType;
|
|
}
|
|
|
|
public void setFieldLabel(String fieldLabel) {
|
|
this.fieldLabel = fieldLabel;
|
|
}
|
|
|
|
public void setHandlers(List<HandlerDeclarationDV> handlers) {
|
|
this.handlers = handlers;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
StringBuilder builder = new StringBuilder();
|
|
builder.append("UseCaseDescriptorDV [id=");
|
|
builder.append(id);
|
|
builder.append(", version=");
|
|
builder.append(version);
|
|
builder.append(", name=");
|
|
builder.append(name);
|
|
builder.append(", description=");
|
|
builder.append(description);
|
|
builder.append(", fieldType=");
|
|
builder.append(fieldType);
|
|
builder.append(", fieldLabel=");
|
|
builder.append(fieldLabel);
|
|
builder.append(", handlers=");
|
|
builder.append(handlers);
|
|
builder.append("]");
|
|
return builder.toString();
|
|
}
|
|
|
|
}
|