76 lines
1.6 KiB
Java
76 lines
1.6 KiB
Java
package org.gcube.application.geoportalcommon.shared.geoportal;
|
|
|
|
import java.io.Serializable;
|
|
|
|
public class HandlerDeclarationDV implements Serializable {
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private static final long serialVersionUID = 9095207023666383038L;
|
|
private String id;
|
|
private String type;
|
|
private ConfigurationDV<?> configuration;
|
|
private GEOPORTAL_DATA_HANDLER dataHandlerType;
|
|
|
|
public HandlerDeclarationDV() {
|
|
}
|
|
|
|
public HandlerDeclarationDV(String id, String type, ConfigurationDV<?> configuration,
|
|
GEOPORTAL_DATA_HANDLER dataHandlerType) {
|
|
this.id = id;
|
|
this.type = type;
|
|
this.configuration = configuration;
|
|
this.dataHandlerType = dataHandlerType;
|
|
}
|
|
|
|
public String getId() {
|
|
return id;
|
|
}
|
|
|
|
public String getType() {
|
|
return type;
|
|
}
|
|
|
|
public ConfigurationDV<?> getConfiguration() {
|
|
return configuration;
|
|
}
|
|
|
|
public void setId(String id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public void setType(String type) {
|
|
this.type = type;
|
|
}
|
|
|
|
public void setConfiguration(ConfigurationDV<?> configuration) {
|
|
this.configuration = configuration;
|
|
}
|
|
|
|
public void setHandlerType(GEOPORTAL_DATA_HANDLER dataHandlerType) {
|
|
this.dataHandlerType = dataHandlerType;
|
|
|
|
}
|
|
|
|
public GEOPORTAL_DATA_HANDLER getDataHandlerType() {
|
|
return dataHandlerType;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
StringBuilder builder = new StringBuilder();
|
|
builder.append("HandlerDeclarationDV [id=");
|
|
builder.append(id);
|
|
builder.append(", type=");
|
|
builder.append(type);
|
|
builder.append(", configuration=");
|
|
builder.append(configuration);
|
|
builder.append(", dataHandlerType=");
|
|
builder.append(dataHandlerType);
|
|
builder.append("]");
|
|
return builder.toString();
|
|
}
|
|
|
|
}
|