Back to project page uppidy-android-sdk.
The source code is released under:
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCT...
If you think the Android project uppidy-android-sdk 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 com.uppidy.android.sdk.api; /* w w w.j ava2 s . com*/ import java.util.List; import org.springframework.util.LinkedMultiValueMap; import org.springframework.util.MultiValueMap; /** * Transport object for results of modification operations * * Part of the Uppidy Web Services API * * @author arudnev@uppidy.com */ public class ApiModifications extends ApiObject { private List<ApiEntity> data; public List<ApiEntity> getData() { return data; } public void setData(List<ApiEntity> data) { this.data = data; } public MultiValueMap<String, ApiEntity> refsToEntities() { MultiValueMap<String, ApiEntity> map = new LinkedMultiValueMap<String, ApiEntity>(); if(data != null) { for(ApiEntity entity : data) { if(entity.getRef() != null) map.add(entity.getRef(), entity); } } return map; } }