Permalink
Browse files

#BUG-FIX

-Version, Attendee, Exdate and Exrule classes were not implemented in parameter super class - in JsonType* annotations-
-in http package no class has default constructor
  • Loading branch information...
dgkncelik committed Jun 9, 2018
1 parent ca8150f commit ed07401d424c373886cc161d6863926da5f726e4
View
@@ -5,7 +5,7 @@
<groupId>edu.itu</groupId>
<artifactId>cavabunga-lib</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>cavabunga-lib</name>
@@ -8,7 +8,6 @@
import org.hibernate.annotations.DiscriminatorOptions;
import javax.persistence.*;
import javax.persistence.Version;
import java.util.ArrayList;
import java.util.List;
@@ -23,6 +22,7 @@
@JsonSubTypes.Type(value = Action.class, name = "Action"),
@JsonSubTypes.Type(value = Attach.class, name = "Attach"),
@JsonSubTypes.Type(value = Calscale.class, name = "Calscale"),
@JsonSubTypes.Type(value = Attendee.class, name = "Attendee"),
@JsonSubTypes.Type(value = Catagories.class, name = "Catagories"),
@JsonSubTypes.Type(value = Class.class, name = "Class"),
@JsonSubTypes.Type(value = Comment.class, name = "Comment"),
@@ -37,6 +37,7 @@
@JsonSubTypes.Type(value = Due.class, name = "Due"),
@JsonSubTypes.Type(value = Duration.class, name = "Duration"),
@JsonSubTypes.Type(value = Exdate.class, name = "Exdate"),
@JsonSubTypes.Type(value = Exrule.class, name = "Exrule"),
@JsonSubTypes.Type(value = Freebusy.class, name = "Freebusy"),
@JsonSubTypes.Type(value = Geo.class, name = "Geo"),
@JsonSubTypes.Type(value = Lastmod.class, name = "Lastmod"),
@@ -65,7 +66,7 @@
@JsonSubTypes.Type(value = Tzurl.class, name = "Tzurl"),
@JsonSubTypes.Type(value = Uid.class, name = "Uid"),
@JsonSubTypes.Type(value = Url.class, name = "Url"),
@JsonSubTypes.Type(value = Version.class, name = "Version")
@JsonSubTypes.Type(value = edu.itu.cavabunga.lib.entity.property.Version.class, name = "Version")
})
@Data
public abstract class Property {
@@ -44,4 +44,6 @@ public ComponentResponse(Integer code, String message, Component data) {
super(code, message);
this.data.add(data);
}
public ComponentResponse(){}
}
@@ -26,4 +26,6 @@ public ErrorResponse(Integer code, String message, Object data) {
super(code, message);
this.data = data;
}
public ErrorResponse(){}
}
@@ -43,4 +43,6 @@ public ParameterResponse(Integer code, String message, Parameter data) {
super(code, message);
this.data.add(data);
}
public ParameterResponse(){}
}
@@ -43,4 +43,6 @@ public ParticipantResponse(Integer code, String message, Participant data) {
super(code, message);
this.data.add(data);
}
public ParticipantResponse(){}
}
@@ -43,4 +43,6 @@ public PropertyResponse(Integer code, String message, Property data) {
super(code, message);
this.data.add(data);
}
public PropertyResponse(){}
}
@@ -29,4 +29,6 @@ public Response(Integer code, String message){
this.message = message;
}
public Response(){}
}

0 comments on commit ed07401

Please sign in to comment.