63 lines
1.3 KiB
Java
63 lines
1.3 KiB
Java
package org.gcube.data.publishing.gCatFeeder.collectors.dm.model;
|
|
|
|
import java.time.LocalDateTime;
|
|
import java.util.ArrayList;
|
|
import java.util.HashSet;
|
|
import java.util.List;
|
|
import java.util.Set;
|
|
|
|
import org.gcube.data.publishing.gCatFeeder.collectors.dm.model.ckan.GCatModel;
|
|
import org.gcube.data.publishing.gCatfeeder.collectors.model.CustomData;
|
|
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
|
|
@Getter
|
|
@Setter
|
|
public class InternalAlgorithmDescriptor implements CustomData {
|
|
|
|
private String className;
|
|
|
|
//operator info
|
|
private String name;
|
|
private String description;
|
|
private String briefDescription;
|
|
private String id;
|
|
|
|
private UserIdentity author;
|
|
private UserIdentity maintainer;
|
|
|
|
private String version;
|
|
private LocalDateTime creationDate;
|
|
|
|
//category info
|
|
|
|
private String categoryBriefDescription;
|
|
private String categoryDescription;
|
|
private String categoryID;
|
|
private String categoryName;
|
|
|
|
|
|
private Set<Parameter> inputParameters=new HashSet<>();
|
|
private Set<Parameter> outputParameters=new HashSet<>();
|
|
|
|
private String guiLink;
|
|
private String gatewayName;
|
|
private String wpsLink;
|
|
|
|
|
|
private Boolean privateFlag;
|
|
|
|
|
|
private List<String> tags=new ArrayList<>();
|
|
|
|
public GCatModel asCKANModel(boolean defineProfile) {
|
|
GCatModel toReturn=new GCatModel(this);
|
|
if(!defineProfile) toReturn.setProfile(null);
|
|
return toReturn;
|
|
}
|
|
|
|
|
|
|
|
}
|