Currently I have this set of code:
package com.sdqn.shared.property;
import java.util.ArrayList;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public class Misc_ReturnValue {
public String message;
public int total;
public boolean success;
public ArrayList results;
public Misc_ReturnValue(){
this.success = false;
this.total = 0;
}
}
The problem is, I need the results to accept any type. I try to follow the answer from here but it seem like I don't understand how to use it in my code. Can anybody explain to me how I can achieve this?
Aucun commentaire:
Enregistrer un commentaire