Back to project page JsonPullParser.
The source code is released under:
Apache License
If you think the Android project JsonPullParser listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package net.vvakame.sample; // w w w. j a v a2 s . c o m import java.util.List; import net.vvakame.sample.anotherpackage.AnotherPackageClass; import net.vvakame.util.jsonpullparser.annotation.JsonKey; import net.vvakame.util.jsonpullparser.annotation.JsonModel; /** * Test for member has class on another package. * @author backpaper0 */ @JsonModel(builder = true) public class ContainsAnotherPackageObjectData { @JsonKey private AnotherPackageClass anotherPackageClass; @JsonKey private List<AnotherPackageClass> anotherPackageClasses; /** * @return the anotherPackageClass * @category accessor */ public AnotherPackageClass getAnotherPackageClass() { return anotherPackageClass; } /** * @param anotherPackageClass the anotherPackageClass to set * @category accessor */ public void setAnotherPackageClass(AnotherPackageClass anotherPackageClass) { this.anotherPackageClass = anotherPackageClass; } /** * @return the anotherPackageClasses * @category accessor */ public List<AnotherPackageClass> getAnotherPackageClasses() { return anotherPackageClasses; } /** * @param anotherPackageClasses the anotherPackageClasses to set * @category accessor */ public void setAnotherPackageClasses(List<AnotherPackageClass> anotherPackageClasses) { this.anotherPackageClasses = anotherPackageClasses; } }