All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.podio.task.TasksByDue Maven / Gradle / Ivy

There is a newer version: 0.7.9
Show newest version
package com.podio.task;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.codehaus.jackson.annotate.JsonAnySetter;

public class TasksByDue {

	private Map> map = new HashMap>();

	@Override
	public String toString() {
		return "TasksByDue [map=" + map + "]";
	}

	public List getByDueStatus(TaskDueStatus status) {
		return map.get(status);
	}

	@JsonAnySetter
	public void setByDueStatus(String status, List tasks) {
		map.put(TaskDueStatus.getByName(status), tasks);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy