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

Commit 2dcf0093 authored by Daniel Rainer's avatar Daniel Rainer
Browse files

Make "format" an array of strings again

parent 76f8b2de
......@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.codeability.sharing</groupId>
<artifactId>SharingPluginPlatformAPI</artifactId>
<version>0.2.0</version>
<version>0.2.1</version>
<name>SharingPluginPlatformAPI</name>
<description>CodeAbility Sharing Plugin Platform API</description>
<packaging>jar</packaging>
......
......@@ -22,7 +22,7 @@ public class UserProvidedMetadataDTO {
private String educationalFramework;
private String[] educationalLevel;
private String[] educationalUse;
private String format;
private String[] format;
private String identifier;
private InteractivityType interactivityType;
private String[] isBasedOn;
......@@ -130,11 +130,11 @@ public class UserProvidedMetadataDTO {
this.educationalUse = educationalUse;
}
public String getFormat() {
public String[] getFormat() {
return this.format;
}
public void setFormat(final String format) {
public void setFormat(final String[] format) {
this.format = format;
}
......@@ -379,7 +379,7 @@ public class UserProvidedMetadataDTO {
+ ", educationalFramework: " + educationalFramework
+ ", educationalLevel: " + Arrays.toString(educationalLevel)
+ ", educationalUse: " + Arrays.toString(educationalUse)
+ ", format: " + format
+ ", format: " + Arrays.toString(format)
+ ", identifier: " + identifier
+ ", image: " + image
+ ", interactivityType: " + interactivityType
......@@ -418,7 +418,7 @@ public class UserProvidedMetadataDTO {
result = prime * result + ((educationalFramework == null) ? 0 : educationalFramework.hashCode());
result = prime * result + Arrays.hashCode(educationalLevel);
result = prime * result + Arrays.hashCode(educationalUse);
result = prime * result + ((format == null) ? 0 : format.hashCode());
result = prime * result + ((format == null) ? 0 : Arrays.hashCode(format));
result = prime * result + ((identifier == null) ? 0 : identifier.hashCode());
result = prime * result + ((image == null) ? 0 : image.hashCode());
result = prime * result + ((interactivityType == null) ? 0 : interactivityType.hashCode());
......@@ -466,7 +466,7 @@ public class UserProvidedMetadataDTO {
&& Objects.equals(this.educationalFramework, other.educationalFramework)
&& Arrays.equals(this.educationalLevel, other.educationalLevel)
&& Arrays.equals(this.educationalUse, other.educationalUse)
&& Objects.equals(this.format, other.format)
&& Arrays.equals(this.format, other.format)
&& Objects.equals(this.identifier, other.identifier)
&& Objects.equals(this.image, other.image)
&& this.interactivityType == other.interactivityType
......
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