Lucio Lelii 2017-02-07 17:37:19 +00:00
parent fe1bedb303
commit b9d46bfe93
3 changed files with 54 additions and 2 deletions

View File

@ -61,7 +61,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2</version>
<configuration>
<descriptors>
<descriptor>${distroDirectory}/descriptor.xml</descriptor>

View File

@ -9,5 +9,6 @@ public enum JobType {
DWCAById,
CSV,
CSVForOM,
DarwinCore
DarwinCore,
LayerCreator
}

View File

@ -0,0 +1,52 @@
package org.gcube.data.spd.model.service.types;
import java.util.Arrays;
import java.util.List;
public class MetadataDetails{
private String abstractField;
private String purpose;
private String title;
private String author;
private String credits;
private List<String> keywords;
public MetadataDetails(String abstractField, String purpose,
String title, String author, String credits, String ... keywords) {
super();
this.abstractField = abstractField;
this.purpose = purpose;
this.title = title;
this.author = author;
this.credits = credits;
this.keywords = Arrays.asList(keywords);
}
public String getAbstractField() {
return abstractField;
}
public String getPurpose() {
return purpose;
}
public String getTitle() {
return title;
}
public String getAuthor() {
return author;
}
public String getCredits() {
return credits;
}
public List<String> getKeywords() {
return keywords;
}
}