Rev 1814 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1814 | Rev 1827 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | package pt.estgp.estgweb.domain.typesgen.controloatividadedocente; |
1 | package pt.estgp.estgweb.domain.typesgen.controloatividadedocente; |
2 | 2 | ||
3 | import com.owlike.genson.Genson; |
3 | import com.owlike.genson.Genson; |
- | 4 | import com.owlike.genson.GensonBuilder; |
|
4 | import org.apache.log4j.Logger; |
5 | import org.apache.log4j.Logger; |
5 | import pt.estgp.estgweb.domain.typesgen.BacoDataAbstractType; |
6 | import pt.estgp.estgweb.domain.typesgen.BacoDataAbstractType; |
6 | 7 | ||
7 | import java.util.ArrayList; |
8 | import java.util.ArrayList; |
8 | 9 | ||
Line 20... | Line 21... | ||
20 | 21 | ||
21 | public void setAtividades(ArrayList<AtividadePontuada> atividades) { |
22 | public void setAtividades(ArrayList<AtividadePontuada> atividades) { |
22 | this.atividades = atividades; |
23 | this.atividades = atividades; |
23 | } |
24 | } |
24 | 25 | ||
25 | static Genson genson = new Genson.Builder() |
26 | static Genson genson = new GensonBuilder() |
26 | .include(1.5.0/docs/api/java/lang/Boolean.html">Boolean.class) |
27 | .include(1.5.0/docs/api/java/lang/Boolean.html">Boolean.class) |
27 | .include(1.5.0/docs/api/java/lang/Integer.html">Integer.class) |
28 | .include(1.5.0/docs/api/java/lang/Integer.html">Integer.class) |
28 | .include(1.5.0/docs/api/java/lang/Long.html">Long.class) |
29 | .include(1.5.0/docs/api/java/lang/Long.html">Long.class) |
29 | .include(1.5.0/docs/api/java/lang/Double.html">Double.class) |
30 | .include(1.5.0/docs/api/java/lang/Double.html">Double.class) |
30 | .include(1.5.0/docs/api/java/lang/Float.html">Float.class) |
31 | .include(1.5.0/docs/api/java/lang/Float.html">Float.class) |