This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Commit 76f8b2de authored by Daniel Rainer's avatar Daniel Rainer
Browse files

Update to work with metadata version 0.4

parent 39f87a6a
......@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.codeability.sharing</groupId>
<artifactId>SharingPluginPlatformAPI</artifactId>
<version>0.1.10</version>
<version>0.2.0</version>
<name>SharingPluginPlatformAPI</name>
<description>CodeAbility Sharing Plugin Platform API</description>
<packaging>jar</packaging>
......
......@@ -3,7 +3,6 @@ package org.codeability.sharing.plugins.api.search;
import java.util.List;
import java.util.stream.Collectors;
import org.codeability.sharing.plugins.api.search.UserProvidedMetadataDTO.ExerciseType;
/**
* transfers the queried meta data
......@@ -16,7 +15,7 @@ public class SearchInputMetadataDTO {
private List<String> naturalLanguage;
private String license;
private String author;
private List<UserProvidedMetadataDTO.ExerciseType> types;
private String learningResourceType;
private String format;
private String parentId;
......@@ -185,21 +184,15 @@ public class SearchInputMetadataDTO {
this.author = mapEmptyString(author);
}
/**
* @return the types
*/
public List<ExerciseType> getTypes() {
return types;
}
public String getLearningResourceType() {
return learningResourceType;
}
/**
* @param types the types to set
*/
public void setTypes(List<ExerciseType> types) {
this.types = types;
}
public void setLearningResourceType(final String learningResourceType) {
this.learningResourceType = learningResourceType;
}
/**
/**
* @return the parentId
*/
public String getParentId() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment